fayotech.academy🐍 Python: First Steps
Say hello

💬 Make it talk back

Why: Make programs that listen with input() and reply.

Unlocks: Variables — saving what the user tells you.

So far the conversation is one-way: you order, it prints. Real programs listen too — they read input and answer with output. Python's listening order is input() — it pauses the program, waits for the human to type something, and hands you whatever they typed.

Two new things happened there:

1. input() paused and waited for you — the program genuinely stopped until you answered, like the mind-reader game waited for your yes/no.

2. name = input() — the answer didn't vanish. It was saved into a labeled box called name, and print used it a line later. That labeled box is a variable — the star of the next lesson.

Also notice: print can take several things separated by commas, and it prints them with spaces in between.

One order, one answer, one reply — you just wrote your first interactive program. Every chatbot you've ever used is this same idea, grown up.

Quick challenge

What does input() do when the program reaches it?

🔍 Go deeper: watch how Python juggles text under the hood → PyDebug: Strings Up Close.