Skip to content · ⁨본문 바로가기⁩

Until they type stop · ⁨stop을 입력할 때까지⁩

English

Until they type stop

Keep reading words with input() and printing each one back, until the word is stop. Do not print stop itself.

The value the loop tests has to be read before the loop starts, and read again at the end of every turn — otherwise the same word is tested for ever. != means is not equal to.

한국어

stop을 입력할 때까지

input()를 사용하여 단어를 계속 읽고 각 단어를 다시 출력합니다. 단어가 stop이 될 때까지, stop 자체는 출력하지 마십시오.

루프가 테스트하는 값은 루프 시작 전에 읽혀지고, 모든 순환의 끝에 다시 읽혀져야 합니다. 그렇지 않으면 동일한 단어가 영원히 테스트됩니다. !=는 불일치를 의미합니다.

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP