Unidentified X Object

Submitted By:
masassiez

Difficulty:
Easy

Tags:
strings, operators

Code:
assert_equal "X" * ( 2 ___ 2 ), ""
assert_equal "X" * ( 2 ___ 0 ), "X"

Your Solution

Ruby 1.9.3

Back to Problems