Challenge: Countdown Timer 7
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 5.56
Challenge: Countdown Timer 7
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single