Last answered:

15 Mar 2022

Posted on:

24 Feb 2022

0

Division operations return different values

When I did "15/3", the output is "5.0" instead of 5 as shown in the video. And "16/3" returns 5.33333333, instead of 5. I have Python 3. Please explain the difference from what the instructor shows. Thanks.

2 answers ( 0 marked as helpful)
Posted on:

24 Feb 2022

0

Please ignore my question. The instructor just explained it is Python 2 in the video.

Instructor
Posted on:

15 Mar 2022

0

Hi Christine!

Thanks for reaching out and thanks for letting us know you can proceed with the course.
Good luck and please feel free to post another question should you encounter any difficulties. Thank you.

Best,
The 365 Team

Submit an answer