Answer to Question #220984 in Python for Hari nadh babu

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

1
Expert's answer
2021-08-05T03:01:56-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS