← Back to archive

Stdle #48 · interfaces · 2026-07-24

What does this Go snippet output?

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

package main
import "fmt"
func main() {
var a interface{} = "x"
var b interface{} = 1
fmt.Println(a == b)
}
Interfaces
4 attempts left

Answer & explanation