exercise6.py