Task 4

from Event Driven Programming on pythonschool.net