exercise5.py