← Back to archive

Stdle #86 · hashes · 2026-08-31

What does this Ruby snippet output?

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

h = {a: 1, b: 2, c: 3}
puts h.values_at(:c, :a).inspect
Hashes
4 attempts left

Answer & explanation