← Back to archive

Stdle #68 · arrays · 2026-08-13

What does this Ruby snippet output?

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

case ["a", "b", "c"]
in [String => first, String => second, *]
puts "#{first}-#{second}"
end
Arrays
4 attempts left

Answer & explanation