Adding loops to functions makes tedious tasks fast and flexible. Here, we display 20 different messages with two function calls.