Exerpad
Exercise 9 · Chapter: Input & Type ConversionOptional+50 XP

Fix the Prompt

This program should ask the user for their name, but the prompt text is in the wrong place. Fix it!

Example input: Alex Expected output: Hello, Alex!

Need a hint?
3 available · costs 5 XP each
python
print("What is your name?")
name = input()
print(f"Hello, {name}!")
Output
Run your code to see the output here.