added ex45.py