Python exercise

First and last appearance

Sign in to hand in your solution and get feedback.