Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Comments in Go | 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

Challenge: Comments in Go

Task

Comment out the statement that should be shown and uncomment the statement that needs to be shown in the following code.

go

index

copy
1234567
package main import "fmt" func main() { fmt.Println("This sentence should not be outputted") //fmt.Println("This sentence should be outputted") }

Everything was clear?

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