A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
stdle-57.go
1packagemain
2
3import"fmt"
4
5const(
6_=iota
7KB=1<<(10*iota)
8MB
9)
10
11funcmain(){
12fmt.Println(KB,MB)
13}
Numbers
Answer & explanation
Console output
1024 1048576
Why
iota increments per line even when a line is skipped with _. KB uses iota=1 giving 1<<10 = 1024, and MB implicitly repeats the same expression with iota=2 giving 1<<20 = 1048576. This is the classic byte-size constant idiom.