← Back to archive

Stdle #65 · iteration · 2026-08-10

What does puts [1, 2, 3].reject { |x| x.odd? } output?

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

puts [1, 2, 3].reject { |x| x.odd? }
Iteration
4 attempts left

Answer & explanation