Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Hello World | Section
/
Getting Started with Go

bookChallenge: Hello World

Svep för att visa menyn

Task

Complete the following code that displays "Operation Successful".

index.go

index.go

copy
123456
package main import "fmt" func main() { ___("Operation Successful") }
  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.
package main
import "fmt"
func main() {
    fmt.Println("Operation Successful")
}
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 7

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Avsnitt 1. Kapitel 7
some-alt