def power(num,idx):
    if(idx==1):
       return(num)
    else:
       return(num*power(num,idx-1))
base=int(input("Enter number: "))
exp=int(input("Enter index: "))
print(power(base,exp))
f69e98de66f5e25ba0f0fb8abc9ff4a0f416a3e5
<mask token>

def power(num, idx):
    if idx == 1:
        return num
    else:
        return num * power(num, idx - 1)


<mask token>

def power(num, idx):
    if idx == 1:
        return num
    else:
        return num * power(num, idx - 1)


<mask token>
print(power(base, exp))

def power(num, idx):
    if idx == 1:
        return num
    else:
        return num * power(num, idx - 1)


base = int(input('Enter number: '))
exp = int(input('Enter index: '))
print(power(base, exp))

def power(num,idx):
    if(idx==1):
       return(num)
    else:
       return(num*power(num,idx-1))
base=int(input("Enter number: "))
exp=int(input("Enter index: "))
print(power(base,exp))