Liftoff · 발사 준비 완료
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 · While loops →
English
Liftoff
Count down from 5 to 1, then print Liftoff!.
A while loop repeats as long as its condition is true, so something inside the loop must change the variable, or the loop never stops. Code written after the loop, without indentation, runs once when the loop ends.
한국어
발사(Liftoff)
5에서 1로 카운트다운한 후, Liftoff!를 출력하십시오.
while 루프는 조건이 참인 한 반복되므로, 루프 내부의 무언가가 변수를 변경하지 않으면 루프가 종료되지 않습니다. 루프 다음에 위쪽 정렬 없이 작성된 코드는 루프가 끝날 때 한 번 실행됩니다.
Use a while loop to count down from 5 to 1, one number per line, then print Liftoff!. · while 루프를 사용하여 5에서 시작하여 1까지 줄마다 하나씩 세어 내려간 후, Liftoff!를 출력하세요.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.