Updated ex19.py