Guest User

Untitled

a guest
Oct 20th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def power(a,n):
  2. x=1
  3. for i in range(0,n):
  4. x=x*a
  5. return x
  6. a=int(input("введите основание:"))
  7. n=int(input("введите показатель:"))
  8. print(power(2,3))
Add Comment
Please, Sign In to add comment