adding ex10.py