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
Вступ до Golang

bookChallenge: 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

index.go

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

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

Як ми можемо покращити це?

Дякуємо за ваш відгук!

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

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Suggested prompts:

Can you explain why one statement should be shown and the other commented out?

Can you show me the expected output of the code?

Can you help me understand how commenting works in Go?

Awesome!

Completion rate improved to 1.96

bookChallenge: 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

index.go

copy
1234567
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