Challenge: Countdown Timer
Tehtävä
Swipe to start coding
Write a program that prints a countdown from 10 to 0, each number on a new line.
- Use a
forloop to count down from 10 to 0. - Print each number in the countdown on its own 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
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Mahtavaa!
Completion arvosana parantunut arvoon 5.56
Challenge: Countdown Timer
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
Write a program that prints a countdown from 10 to 0, each number on a new line.
- Use a
forloop to count down from 10 to 0. - Print each number in the countdown on its own line.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single