completed ex32.py