Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Défi : Constantes | Commencer
Introduction à Golang
course content

Contenu du cours

Introduction à Golang

Introduction à Golang

1. Commencer
2. Types de Données
3. Structures de Contrôle
4. Fonctions
5. Tableaux et Tranches
6. Introduction aux Structs et Maps

book
Défi : Constantes

Tâche

Déclarez et initialisez une constante appelée myConst avec une valeur de 17.

go

index

copy
1234567
package main import "fmt" func main() { ___ fmt.Println(myConst) // Should output 17 }

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 11
We're sorry to hear that something went wrong. What happened?
some-alt