Challenge: Countdown Timer 7
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Fantastiskt!
Completion betyg förbättrat till 5.56
Challenge: Countdown Timer 7
Svep för att visa menyn
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4
single