Medium
Default Exponent
Write
power(base, exp=2). Read a line with one or two integers: call power(base) if there is one and power(base, exp) if there are two. Print the result.Input
One line.
Output
One integer.
Sample 1
Input
5
Output
25
Sample 2
Input
2 10
Output
1024
Output appears here