Find Power of Number
This Program name is Find Power of Number. Write a Python program to Find Power of Number, it has two test cases
The below link contains Find Power of Number question, explanation and test cases
https://drive.google.com/file/d/1vDqKtEIKkaYkLdD_0hwA5rRycaPlBrvG/view?usp=sharing
We need exact output when the code was run
n = int(input())
m = int(input())
foo = 1
for i in range(m):
foo *= n
print(foo)
Input 1:
2
3
Output 1:
8
Input 2:
3
1
Output 2:
3
Comments
Leave a comment