Challenge: Hello World
Task
Complete the following code that displays "Operation Successful".
index.go
123456package main import "fmt" func main() { ___("Operation Successful") }
- Use a function to display text.
- The function comes from the fmt package.
- Fill in the blank with the correct function name.
package main
import "fmt"
func main() {
fmt.Println("Operation Successful")
}
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 8
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
What does the fmt.Println function do?
Are there other functions in the fmt package for displaying text?
Can you explain why we use double quotes around the message?
Awesome!
Completion rate improved to 1.96
Challenge: Hello World
Swipe to show menu
Task
Complete the following code that displays "Operation Successful".
index.go
123456package main import "fmt" func main() { ___("Operation Successful") }
- Use a function to display text.
- The function comes from the fmt package.
- Fill in the blank with the correct function name.
package main
import "fmt"
func main() {
fmt.Println("Operation Successful")
}
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 8