CH1: Exercise 05 in python.