Greet Someone (Exercise)
00:00 Let’s get started with the first exercise. I will read the exercise out for you and then you can pause this course, solve the exercise yourself, and then go on to the next lesson where you can see how I solve the exercise.
Your first exercise is to greet someone. Write a function called
greet() that takes one string parameter called
name and displays the text
"Hello, <name>!", where the
name is replaced by the value of the
Become a Member to join the conversation.