Update ex16.py