Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 4: Understanding Python Errors, Comments, and Code Quality!

Instruction

Floating-Point Errors

Computers store information using 0's and 1's. All information must be converted to a string of 0's and 1's. For example, 5 is converted to 101. Since only two values, 0 or 1, are allowed, the format is called binary. Floating-point values are stored as binary by Python. The conversion of a floating-point number to the underlying binary results in specific types of floating-point errors.

...