Python: ch04.py