Challenge: Countdown Timer 7
Oppgave
Swipe to start coding
Write a function that performs a countdown from 10 to 1 and then prints a message.
- Use a
whileloop to print each number from 10 down to 1, one per line. - After the countdown, print the message "Blast off!" on a new line.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Countdown Timer 7
Sveip for å vise menyen
Oppgave
Swipe to start coding
Write a function that performs a countdown from 10 to 1 and then prints a message.
- Use a
whileloop to print each number from 10 down to 1, one per line. - After the countdown, print the message "Blast off!" on a new line.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single