← Back to archive

Stdle #92 · iteration · 2026-09-06

What does this Ruby snippet output?

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

a, *b = 1, 2, 3, 4
puts a
puts b.length
Iteration
2 lines
4 attempts left

Answer & explanation