Updated ex36.py