Python: ch19.py