So, I've started a program to calculate the nth root of a number:
*x = float(input('Enter a number: '))
n = float(input('Enter the root you would like to calculate: '))
result=x**(1/float(n))
print(f'The {n}th root of = {x} is:',result)*
The program works with every number and root, but when I enter as x=64 and n=3 it shows this: The 3.0 root of = 64.0 is: 3.9999999999999996