Dare to Compare


#1



Dare to Compare


(ruby):7: unterminated regexp meets end of file
Oops, try again. Make sure to put an expression after each =!
i have both without the =end and it still didnt work. I dont know what wrong with my code. Thanks in advance.


Replace this line with your code. 

# test_1 should be false
test_1 = 10 < 4 // false

# test_2 = should be false
test_2 = false // 4 > 5

# test_3 = should be true
test_3 = true // 3 > 1

=end


#2

Why do you not use || (OR operateur) instead of your //? Also take off the =end which is normally the end of multy-line comments, but you have the one-line comments here!


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.