0
27**(1/3)the result is 1
3 Antworten
+ 7
I ran the code and got 3.0, which I think is correct because raising a number to the 1/3 power is the same as taking its cube root and the cube root of 27 is 3. I think you get the float 3.0 because division produces floats. If you use 1//3 then you get 1 for the reason Ace said.