Challenge: Countdown Timer
Opgave
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.
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
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Countdown Timer
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
single