logo CodeStepByStep logo

roundoff_error

Language/Type: Python basics float
The expression (0.2 + 1.2 + 2.2 + 3.2) should equal 6.8, but in Python it does not. Why not?
(order shuffled)

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.