Solve problem "Hello, Harry!" online - Learn Python 3 - Snakify

Problem «Hello, Harry!» (Easy)


Write a program that greets the user by printing the word "Hello", a comma, the name of the user and an exclamation mark after it. See the examples below.

Warning. Your program's output should strictly match the desired one, character by character. There shouldn't be any space between the name and the exclamation mark. You can use + operator to concatenate two strings. See the lesson for details.

In all the problems input the data using input() and print the result using print().

Saved solutions


Input Correct answer Result
Hello, Harry!
Mr. Potter
Hello, Mr. Potter!
Lord Voldemort
Hello, Lord Voldemort!