Problem 123430 · easy · Level 01 Prerequisites & Setup

Personal Greeting

input · print · strings

Read one line of input containing a name, then greet that person.

Print Hello, followed by the name and an exclamation mark. For example, if the input is Ada, print Hello, Ada!.

Examples

Input:  Ada
Output: Hello, Ada!
Input:  Grace Hopper
Output: Hello, Grace Hopper!

Constraints

  • The name is a single line of text with 1 to 50 characters.
  • Print the name exactly as it was given (do not change capital letters).

Goals

  • Read one line of text with input() and store it in a variable
  • Combine text and a variable in a single print() call
  • Understand that input() always gives you a string
Starting Python…