Finish the countdown · Terminar el cuenta regresiva
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.
Finalizar el conteo regresivo
El bucle imprime count, pero nada lo cambia — por lo que nunca terminaría. Agrega la única línea que resta 1 a count, dentro del bucle.
Un bucle while sigue ejecutándose mientras su condición sea verdadera. Algo dentro de él debe acercar count hacia 0, o la respuesta permanecerá True para siempre. Esa línea va indentada debajo del while, al igual que el print que está arriba.
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. It should print 3, 2, 1. · El bucle imprime count, pero nada lo cambia nunca, así que nunca terminaría. Añade la única línea que resta 1 a count, dentro del bucle. Debería imprimir 3, 2, 1.
Click Run to see the output here. · Haz clic en Ejecutar para ver la salida aquí.