Update homework.py

http://www.codeskulptor.org/#user34_NsI6bIrSa6_2.py