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

Course Content

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

bookChallenge: Constants

Task

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

go

index

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
We're sorry to hear that something went wrong. What happened?
some-alt