Repaired exercise-3.4.py. pep8 suggestions as well as removed extraneous comments.