The exponent operation
Given both n1 and n2. Multiply n1 with n2 number of times and return the final value.
Sample Code:
def baseExp(n1,n2):
# Enter your logic here...
Examples:
Input: 7,2
Output: 49
Explanation: 7x7=49
Input: 3,3
Output: 27
Explanation: 3x3x3=27