Stdle #80 · comparisons · 2026-08-25
What does this Ruby snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
a = "hello"b = "hello"puts a == bputs a.eql?(b)puts a.equal?(b)Comparisons
Stdle #80 · comparisons · 2026-08-25
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
a = "hello"b = "hello"puts a == bputs a.eql?(b)puts a.equal?(b)