Boolean


#1

Hi, Leongard!
My code is rejected.

if 17 < 328 : bool_one = True
if 100 == (2 * 50) : bool_two = True
if 19 <= 19 : bool_three = True
if -22 >= -18 : bool_four = False
if 99 != (98 + 1) : bool_five = False

Say Your me, where is error? Thanks before.
Sorry for my bad English.
Best regards, Vasily.


Oops double check your value for bool_five
#2

all you need to do is set bool_one till bool_five to true or false depending on wether the condition is true or false, but no need for those if statements


#3

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