Smatchcube's website 🌍


Exercise 2.27

Note that my solution could be more concise using the list primitive.