Skip to content · ⁨Saltar al contenido⁩

Until they type stop · ⁨Hasta que escriban 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.

Español

Hasta que escriban stop

Lea palabras con input() e imprima cada una de vuelta, hasta que la palabra sea stop. No imprima la palabra stop en sí.

El valor que el bucle verifica debe leerse antes de que comience el bucle, y leerse de nuevo al final de cada iteración — de lo contrario, se probará la misma palabra infinitamente. != significa es diferente de.

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP