This is the Exercise I am stuck at
Let's run through the comparators again with more complex expressions. Set each variable to True or False depending on what you think the result will be.
Set bool_one to the result of (20 - 10) > 15
Set bool_two to the result of (10 + 17) == 3**16
Set bool_three to the result of 1**2 <= -1
Set bool_four to the result of 40 * 4 >= -4
Set bool_five to the result of 100 != 10**2
#Assign True or False as appropriate on the lines below! if (20 - 10) > 15 : bool_one = True # We did this one for you! else : bool_one = False if (10 + 17) == 3**16 : # Remember that ** can be read as 'to the power of'. 3**16 is about 43 million. bool_two = True else : bool_two = False if 1**2 <= -1 : bool_three = True else : bool_three = False if 40 * 4 >= -4 : bool_four = True else : bool_four = False if 100 != 10**2 : bool_five = True else : bool_five = False
The above solution is accepted by the compiler
What i can't understand here is how those conditions happen to be true only bool_four is true but rest of them must be opposite according to me.
Can anyone please explain why compiler accepted this answer? OR
Is there something wrong with the compiler(or the website)?