Challenge: Countdown Timer
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 5.56
Challenge: Countdown Timer
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single