ex16.py