Skip to content

First programs · warm-up

Greet by name

Read a name with input() and print Hello, followed by the name and !.

For the input Ada the output is Hello, Ada!.

Stuck on the idea rather than the code? The Your first program lesson walks through it.