Python exercise

Homework 1.1.3

Sign in to hand in your solution and get feedback.