← Back to archive

Stdle #68 · slices · 2026-08-13

What does this Go snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

package main
import "fmt"
func main() {
a := []byte("go")
b := []byte("pher")
a = append(a, b...)
fmt.Println(string(a))
}
Slices
4 attempts left

Answer & explanation