← Back to archive

Stdle #19 · numbers · 2026-06-25

What does this Ruby snippet output?

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

puts 5.is_a?(Integer)
puts 5.is_a?(Numeric)
puts 5.is_a?(String)
Numbers
3 lines
4 attempts left

Answer & explanation