update ex36.py and ex36.pdf