Added a partial function definition to ex19.py