Booleans


#1

Hi,

I am getting this Error-Double check your value for bool_four.
Can anyone help me out please?

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


Oops double check your value for bool_five
#2

well, this condition:

if -22 >= -18:

is false, so bool_four is never reached. You only need to give bool_four a value of False or True, no need for all this if statements


#3

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