ex7.py added