← Back to archive

Stdle #104 · iteration · 2026-09-18

What does this Ruby snippet output?

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

result = (1..6).each_cons(3).to_a
puts result.inspect
Iteration
4 attempts left

Answer & explanation