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

book
Défi : Constantes

Tâche

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

go

index

copy
package main
import "fmt"

func main() {
___
fmt.Println(myConst) // Should output 17
}
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
some-alt