Update ex7.py