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.
index.go
1234567package main import "fmt" func main() { fmt.Println("This sentence should not be outputted") //fmt.Println("This sentence should be outputted") }
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 9
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 1.96
Challenge: Comments in Go
Swipe to show menu
Task
Comment out the statement that should be shown and uncomment the statement that needs to be shown in the following code.
index.go
1234567package main import "fmt" func main() { fmt.Println("This sentence should not be outputted") //fmt.Println("This sentence should be outputted") }
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 9