Question #220984

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

Expert's answer

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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS