Pack 1 / Foundations
input()
Lesson pack1-3
input()
not started
Hook
Input turns your program into a conversation.
input() waits for the user to type and press enter.
The answer gets stored as text.
You can print it back to make interactive messages.
Mini Challenge
Ask the user for a favourite snack using input(), save the answer in a variable called snack, then print snack.
Full lesson mode with normal detail.
Code Lab
Try it now
Output updates below
Output
This lesson uses live input when Pyodide is ready.
Run the code, tweak it, then beat the challenge.
