Challenge: Countdown Timer 7
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Countdown Timer 7
Stryg for at vise menuen
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
single