"""Exercise 5.4.5 — Last three characters

Chapter 5: Data Structures — Everyday Programming

The program should print the last three characters of a code: "789".

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

code = "ABC789"
last_three = code[-3]
print(last_three)   # 789
