Python exercise

Exercise 2.3.1

Sign in to hand in your solution and get feedback.