Skip to content · ⁨Passer au contenu⁩

Until they type stop · ⁨Jusqu'à ce qu'ils tapent 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.

Français

Jusqu'à ce qu'ils tapent stop

Continuez à lire des mots avec input() et à imprimer chacun d'eux, jusqu'à ce que le mot soit stop. N'imprimez pas stop lui-même.

La valeur que la boucle teste doit être lue avant que la boucle commence, et lue à nouveau à la fin de chaque tour — sinon le même mot est testé pour toujours. != signifie n'est pas égal à.

Log in or create account · ⁨Se connecter ou créer un compte⁩

IGCSE, A-Level & AP