← Back to archive

Stdle #97 · blocks · 2026-09-11

What does this Ruby snippet output?

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

l = -> (x) { x * 2 }
puts l.call(3)
Blocks
4 attempts left

Answer & explanation