Puzzle 9: Explanation

Let’s find out how floating-point arithmetic works in Python.

We'll cover the following

Try it yourself

Try executing the code below to verify the result:

Get hands-on with 1200+ tech skills courses.