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
course content

Зміст курсу

Introduction to GoLang

Challenge: Comments in GoChallenge: 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.go


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

Все було зрозуміло?

Секція 1. Розділ 9
course content

Зміст курсу

Introduction to GoLang

Challenge: Comments in GoChallenge: 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.go


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

Все було зрозуміло?

Секція 1. Розділ 9
some-alt