Chapter2ex.2.4.1.py