Go code
fmt.Println("Hello")Line-by-line explanation
- Println is a function from fmt.
- The brackets call it.
- The string is information passed to it.
Expected output
HelloThis is the expected result.
Copying the same instructions into several places makes fixes easy to miss. A function gives that job one home.