Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Practicing For Loop | Control Structures
Introduction to GoLang

bookChallenge: Practicing For Loop

Task

Modify the code to display numbers from 10 to 1, one per line. Replace the placeholders (___) with the correct symbols or expressions.

index.go

index.go

copy
12345678
package main import "fmt" func main() { for i := ___; i ___ 0; ___ { fmt.Println(i) } }

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 8

Spør AI

expand

Spør AI

ChatGPT

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 1.96

bookChallenge: Practicing For Loop

Sveip for å vise menyen

Task

Modify the code to display numbers from 10 to 1, one per line. Replace the placeholders (___) with the correct symbols or expressions.

index.go

index.go

copy
12345678
package main import "fmt" func main() { for i := ___; i ___ 0; ___ { fmt.Println(i) } }

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 8
some-alt