이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
English
Welcome
- Python follows your instructions, one line at a time.
- You write code here and run it — nothing to install.
- Read each step, then press Continue.
English
Show text with print
print(...)shows text on the screen.- Put the text in quotes:
"...". - Each
printstarts a new line.

English
print("Welcome to Python!")
print("This line runs next.")
English
Strings
- Text in quotes is called a string.
- You can use double quotes
"..."or single quotes'...'. - You can also print a number with no quotes, like
print(42).
English
Comments
- A line that starts with
#is a comment. - Python ignores comments — they do not run.
- Use them to leave notes for people who read your code.
English
# This line is a note for people. Python skips it.
print("Comments do not show.")
English
Common mistakes
printneeds quotes around text:print("Hi"), notprint(Hi).- Python is case-sensitive:
Printis not the same asprint.
English
Now you try
- Below are a few tasks. Type your code and press Run.
- Press Check answer to see if it is correct.
탐색하기
How a program runs
A program runs top to bottom, one statement at a time.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
사용법 print(...) to make Python show the words Hello, world! exactly (same spelling, same punctuation).
출력을 보려면 '실행'을 클릭하세요.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Print 두 개 lines. The first line must be My name is Pat. The second line must be I am learning Python. (Use two print(...) calls.)
출력을 보려면 '실행'을 클릭하세요.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Keep the comment line, then print the number 42. Notice the comment never appears in the output.
출력을 보려면 '실행'을 클릭하세요.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Print a box made of three lines: first +-----+, then | Hi! |, then +-----+ again.
출력을 보려면 '실행'을 클릭하세요.