Skip to content · ⁨Lompat ke konten⁩

Until they type stop · ⁨Hingga mereka mengetik 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.

Bahasa Indonesia

Hingga mereka mengetik stop

Terus baca kata-kata dengan input() dan cetak setiap kata kembali, hingga kata tersebut adalah stop. Jangan cetak stop itu sendiri.

Nilai yang diuji loop harus dibaca sebelum loop dimulai, dan dibaca lagi di akhir setiap putaran — jika tidak, kata yang sama diuji selamanya. != berarti tidak sama dengan.

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP