Skip to content · ⁨Pular para o conteúdo⁩

Until they type stop · ⁨Até digitarem 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.

Português

Até digitarem stop

Continue lendo palavras com input() e imprimindo cada uma de volta, até a palavra ser stop. Não imprima stop ela mesma.

O valor que o loop testa precisa ser lido antes do loop começar, e lido novamente no final de cada volta — senão a mesma palavra é testada para sempre. != significa não igual a.

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP