Still can't get passed booleans


#1



https://www.codecademy.com/en/courses/ruby-beginner-en-NFCZ7/3/5?curriculum_id=5059f8619189a5000201fbcb


(ruby):7: unterminated regexp meets end of file and Oops, try again. Make sure to put an expression after each =!

I CAN'T FIGURE OUT WHY I CAN"T PASS THIS EXERCISE WHAT AM I DOING WRONG??


# test_1 should be true
test_1 = (2==2) && (4==4)

# test_2 = should be true
test_2 = (2==1) || (3==3)

# test_3 = should be false
test_3 = !( true ) // true


#2

Would this be a case of typos in the expression?

test3 = !(true)

#3

Yes? Because false does not equal true?? On a side note someone told me I should try doing this with Odin project?? One of my friends suggested it? Advice?


#4

I was referring to this...

This is a syntax error.


#6

A post was split to a new topic: Unterminated regexp meets end of file


#7