Count to ten · 10까지 세기
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · 이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
This one builds on a lesson you haven't finished yet. Do that lesson first: · 이 과제는 아직 완료하지 않은 수업에 기반합니다. 먼저 해당 수업을 완료하세요:
Python Basics · Counting loops →
English
Count to ten
Print the whole numbers from 1 to 10, each on its own line.
A for loop repeats its indented lines once for every value it is given. range(1, 4) gives 1, 2, 3: it stops before its second number, so choose that number with care.
한국어
10까지 세기
1부터10까지의 전체 자연수를 각각 줄바꿈하여 출력하십시오.
for 루프는 주어진 값마다 한 번씩 들여쓴 줄을 반복합니다. range(1, 4)은 1, 2, 3을 줍니다. 두 번째 숫자 직전에서 멈추므로, 그 숫자를 선택할 때 신중해야 합니다.
Use a for loop to print the numbers 1 to 10, one per line. · for 루프를 사용하여 1부터 10까지의 숫자를 한 줄에 하나씩 출력하세요.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.