Update exercise8.py