Why do I keep getting the wrong answer???
2 answers ( 0 marked as helpful)
I have the same but only in 'exercise' worksheet, works fine in any other .ipynb file. Magic...
Hi Asmaa and Grzegorz!
Thanks for reaching out.
Can you please let us know if 1) you have created a function called float() earlier in your code, as well as if you are working on Python 2 or 3? Thank you.
Please feel free to restart the kernel to observe if this changes the output after executing the given cell. Thank you.
Looking forward to your answer.
Best,
Martin