Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 554 Bytes

Returning_Strings.md

File metadata and controls

36 lines (19 loc) · 554 Bytes

CodeWars Python Solutions


Returning Strings

Make a function that will return a greeting statement that uses an input; your program should return, "Hello, <name> how are you doing today?".

[Make sure you type the exact thing I wrote or the program may not execute properly]


Given Code

def greet(name):
    pass

Solution

def greet(name):
    return "Hello, {} how are you doing today?".format(name)

See on CodeWars.com