Search⌘ K

Solution: Using Functions

Explore how to create and implement functions that enhance the organization of your code. Understand how functions can be called within other functions and control program flow for clearer, reusable programs.

We'll cover the following...

Solution

Let’s go over the solution explanation for this challenge.

This program defines two functions, say_hi() and say_bye(). The say_hi() function prints out two messages, "hi there! how are you?" and ...