Build a Greeter Module (Exercise)
00:00 Let’s get started with the first exercise in this lesson. I’ll read the exercise to you, and then you should stop this video, go do the exercise yourself, and then continue with the next lesson, where I show you the solution.
This exercise is to build a greeter module. Create a module called
greeter.py that contains a single function,
greet(). This function should accept a single string parameter named
name and print the text
Hello, and then the
name to the interactive window with
name replaced by the function argument.
Become a Member to join the conversation.