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

book
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.

go

index

copy
package main
import "fmt"

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

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 8

Pregunte a AI

expand
ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

We use cookies to make your experience better!
some-alt