"""Exercise 20.23.2 — Adding two distances

Chapter 20: Common Pitfalls — Everyday Programming

The program should confirm that 0.1 km plus 0.2 km equals 0.3 km.

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

leg_one = 0.1
leg_two = 0.2
if leg_one + leg_two == 0.3:
    print("Distances match")
else:
    print("Distances do not match")
