Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Hello World | Getting Started
Introduction to Go

Challenge: Hello World

Swipe to show menu

Task

Complete the following code that displays "Operation Successful".

index.go

index.go

123456
package main import "fmt" func main() { ___("Operation Successful") }
Hint
expand arrow
  1. Use a function to display text.
  2. The function comes from the fmt package.
  3. Fill in the blank with the correct function name.
Solution
expand arrow
package main
import "fmt"
func main() {
    fmt.Println("Operation Successful")
}
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 8

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Section 1. Chapter 8
some-alt