Menu
Coddy logo textTech

Hello World

Part of the Fundamentals section of Coddy's GO journey. Lesson 2 of 109.

The "Hello, World!" is a simple program that outputs Hello, World! to the screen.

In Go, we use Println() to show words on the screen. The words go inside quotation marks.

Let's take a look at the "Hello World!" program in Go:

fmt.Println("Hello, World!")
challenge icon

Challenge

Beginner

Use the code view to write a program that outputs Hello, World!

Note that anything inside quotation marks is case sensitive. For example:

fmt.Println("Hello, World!")
fmt.Println("hello, world!")

are different things (notice the capital letters in the first line).

Try it yourself

package main
import ("fmt")

func main() {
	// TODO: Use fmt.Println() to print the exact text from the instructions below
	
}
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals

Practice on your own: Online Go compiler