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

Kurssisisältö

Introduction to GoLang

Introduction to GoLang

1. Getting Started
2. Data Types
3. Control Structures
4. Functions
5. Arrays and Slices
6. Intro to Structs & Maps

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) }

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 10

Kysy tekoälyä

expand
ChatGPT

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

course content

Kurssisisältö

Introduction to GoLang

Introduction to GoLang

1. Getting Started
2. Data Types
3. Control Structures
4. Functions
5. Arrays and Slices
6. Intro to Structs & Maps

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) }

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 10
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt