← Python from Scratch
Lesson 4 of 78 · 5 XP
Warm-up: echo warm-up
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
input() waits until a person types something and presses Enter, and returns that line. You can pass it straight to print():
print(input())
The program works like an echo: whatever you type, it prints back.
Task. Read one line and print it unchanged.
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.