Concept
input()
`input()` freezes your program and waits for a mortal human to type something into the terminal and hit Enter:
python
name = input("Enter your name: ")
print("Welcome,", name)
# 10. input() `input()` freezes your program and waits for a mortal human to type something into the terminal and hit Enter: ```python name = input("Enter your name: ") print("Welcome,", name) ``` Whatever they smash into their keyboard gets handed back to your variable as plain text.
Checkpoint
What is your script doing while `input()` is waiting?
Practice
Write code that asks the user `"What is your quest? "` using `input()` and prints their answer with `"Your quest is:"`.
01
Tap code blocks below to assemble
Available Blocks