Contenu du cours
Introduction à Golang
Introduction à Golang
1. Commencer
5. Tableaux et Tranches
Défi : Bases des Variables
Tâche
Complétez le code suivant afin que myVar1
et myVar2
soient tous deux déclarés et initialisés avec succès.
index
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) }
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 10