← Back to archive

Stdle #142 · strings · 2026-10-26

What does this Ruby snippet output?

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

puts "ha" * 3
puts "%d squared is %d" % [7, 49]
Strings
2 lines
4 attempts left

Answer & explanation