update ex36.py, and it's the first version can work :p