Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Practicing For Loop | Section
Getting Started with Go

Challenge: Practicing For Loop

Pyyhkäise näyttääksesi valikon

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

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 26

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Challenge: 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

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 26
some-alt