CJCoding With Joseph
15free / daySign inCreate account

Greeting With A Parameter

Complete greet(name: str) -> None so it prints the line Hello, <name>. with the name it was given in place of <name> and a full stop at the end. The driver reads one line and calls the function with it; do not change the driver. Input: one line, the name, no prompt. Output: the greeting line.

Expected Output:

Hello, Maya.

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
Functions
📥 Auto-Input:
Maya\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.