Finish the countdown · Terminez le compte à rebours
Finish the countdown
The loop prints count, but nothing ever changes it — so it would never end. Add the one line that takes 1 off count, inside the loop.
A while loop keeps going for as long as its question is true. Something inside it has to move count towards 0, or the answer stays True for ever. That line is indented under the while, like the print above it.
Terminer le compte à rebours
La boucle imprime count, mais rien ne la change jamais — elle ne se terminerait donc jamais. Ajoutez la seule ligne qui retire 1 de count, à l'intérieur de la boucle.
Une boucle while continue tant que sa question est vraie. Quelque chose à l'intérieur doit rapprocher count de 0, sinon la réponse reste True pour toujours. Cette ligne est indentée sous le while, comme le print au-dessus.
The loop prints count, but nothing ever changes it — so it would never end. Add the one line that takes 1 off · désactivé count, inside the loop. It should print 3, 2, 1. · La boucle affiche count, mais rien ne le modifie — elle ne s'arrêterait donc jamais. Ajoutez la seule ligne qui retire 1 de count, à l'intérieur de la boucle. Elle doit afficher 3, 2, 1.
Click Run to see the output here. · Cliquez sur Exécuter pour voir le résultat ici.