Real Python Exercise 3