"""Exercise 20.23.4 — Verifying a percentage

Chapter 20: Common Pitfalls — Everyday Programming

The program should check that 0.7 plus 0.1 equals 0.8.

This program contains exactly one bug. Solution: sol_20_23_4.py
"""

part_one = 0.7
part_two = 0.1
if part_one + part_two == 0.8:
    print("Percentages add correctly")
else:
    print("Percentages do not add correctly")
