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

bookChallenge: Constants

Task

Declare and initialize a constant called myConst with a value of 17.

index.go

index.go

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

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 11

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 1.96

bookChallenge: Constants

Swipe to show menu

Task

Declare and initialize a constant called myConst with a value of 17.

index.go

index.go

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

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 11
some-alt