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
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) } }
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 8
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla