ex12.py added