Python exercise

Ex. 6

Sign in to hand in your solution and get feedback.