Skip to main content

Personalized Greeting

The Personalized Greeting project is very similar to the “Hello, world!” project. The only difference is that the program greets the user instead of greeting the world.

Dependencies

Students need to have these skills before starting on this project:

End result

Once a student completes this project, the end result will look something like this:

user_name = input("What is your name? ")
print("Hello,")
print(user_name)

Potential variations

If you want to teach students about str addition (see the Data Type Fundamentals skill), then you can have them do this:

user_name = input("What is your name? ")
print("Hello, " + user_name)