Last answered:

30 Sept 2022

Posted on:

11 Dec 2021

0

Why do I keep getting the wrong answer???

image.png

2 answers ( 0 marked as helpful)
Posted on:

30 Mar 2022

0

I have the same but only in 'exercise' worksheet, works fine in any other .ipynb file. Magic...

Instructor
Posted on:

30 Sept 2022

0

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

Submit an answer