Menu
Coddy logo textTech

Add the space

Lesson 11 of 19 in Coddy's Into the Past || Complete Beginner for Python Strings course.

In previous lessons we have only referenced function arguments and returned them.  As you will soon see not only can function arguments simply be returned, they can be added to.

challenge icon

Challenge

Easy

You are going to create a function which take one argument and adds that argument to a standard greeting

 


Example:

Name the function greeting

Input - Sam

Expected Output - Hello, Sam

 

The argument is going to be a names.  The function will return hello and comma along with the argument

 

*Hint don't forget the space!

Try it yourself

#write your code below

All lessons in Into the Past || Complete Beginner for Python Strings