I realize this is kind of a late reply, but can you please clarify how we’re supposed to assign true and false variables? Or just clarify which exercise taught us how to do that?
I’m from Russia. I do not understand the logic of the English, in which the tasks are set at this point. Examples in the task actually is the answer. Why is not suitable as an answer? Please, do tasks more specific and detailed, people from other countries is very difficult to understand you!
Why it was necessary to write the next structure?
test_1 = 77 != 77
if true
print “true”
elsif
print “false”
end
test_2 = -4 <= -4
if true
print “true”
elsif
print “false”
end
test_3 = -44 < -33
if true
print “true”
elsif
print “false”
end
test_4 = 100 == 1000
if true
print “true”
elsif
print “false”
end
Why can not I use a comparator “==”?
Why it is necessary to use the “if - else - end”?
I worked on this lesson for 20 minutes because I did not understand what the heck the instructions on code academy was asking for. Kinda frustrating when I’m only at the beginning of the tutorial! Javapro56289 the last poster on this thread gave the answer which I am glad he did because it allowed me to go back and understand what the heck the instructions were asking for. I don’t know how the instructions can get any clearer so it prevents these kinds of things but I can definitely say it is frustrating when you get slowed down in progression when you cant connect with the instructions.