Weekly Python Exercise A2: Functions for beginners by Reuven M. Lerner