I am creating a problem which requires me to find the cube root of certain numbers, some of them have whole number roots, but a lot of them don\'t.
I have numbers li
It's quite simple. Cast the floating point to a string and the string to a float. Like this
float(str(pow(125, (1./3))))