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
9
1
2
3
4
5
6
7
8
package main
import "fmt"
func main() {
for i := ___; i ___ 0; ___ {
fmt.Println(i)
}
}
12345678package main import "fmt" func main() { for i := ___; i ___ 0; ___ { fmt.Println(i) } }
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 8
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.