← Back to archive

Stdle #57 · numbers · 2026-08-02

What does this Go snippet output?

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

package main
import "fmt"
const (
_ = iota
KB = 1 << (10 * iota)
MB
)
func main() {
fmt.Println(KB, MB)
}
Numbers
4 attempts left

Answer & explanation