Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Basics of Variables | Getting Started
Introduction to GoLang

book
Challenge: Basics of Variables

Task

Complete the following code so that both myVar1 and myVar2 are successfully declared and initialized.

go

index

copy
123456789
package main import "fmt" func main() { ___ myVar1 = 1 myVar2 __ 2 fmt.Println("The value of myVar1 is", myVar1) fmt.Println("The value of myVar2 is", myVar2) }

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 10

Pregunte a AI

expand
ChatGPT

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

book
Challenge: Basics of Variables

Task

Complete the following code so that both myVar1 and myVar2 are successfully declared and initialized.

go

index

copy
123456789
package main import "fmt" func main() { ___ myVar1 = 1 myVar2 __ 2 fmt.Println("The value of myVar1 is", myVar1) fmt.Println("The value of myVar2 is", myVar2) }

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 10
Lamentamos que algo salió mal. ¿Qué pasó?
some-alt