Given two integers a and b, compute a power b.

Posted on | Sunday, 14 May 2023 | No Comments

 Given two integers a and b, compute a power b.

Note: Do not use any inbuilt functions/libraries for your main logic.

Input Format

First and only line of input contains two positive integers a and b.

Constraints

1 <= a <= 100
0 <= b <= 9

Output Format

Print a power b.

Sample Input 0

2 3

Sample Output 0

8
x,y=map(int,input().split())
print(x**y)

Comments

Leave a Reply

Search

Followers