def nth_root():
    while True:
        x=int(input('Please enter the number:'))
        y=int(input('Please enter index :'))
        print('The index is',1/y)
        print('The answer is',x**(1/y))
