Find power of a number
Problem Statement
Suggest Edit
Problem Statement
The only line of input contains two integers x and n separated by a single space.
The only line of output prints the power of the number.
0 <= x <= 8
0 <= n <= 9
3 4
81
3^4=3*3*3*3=81
2 5
32
2^5=2*2*2*2*2=32#Your code goes here a=input() a=a.split() print(int(a[0])**int(a[1]))
Comments
Post a Comment