Update ex3.py

fixed commenting