Conditionals & Control Flow 4/15


#1

# Create comparative statements as appropriate on the lines below!

# Make me true!
bool_one = 3 < 5  # We already did this one for you!
bool_one = True
# Make me false!
bool_two = 7 == 8 
bool_two = False 
# Make me true!
bool_three = 8 == 8
bool_three = True
# Make me false!
bool_four = 9 <= 1
bool_four = False
# Make me true!
bool_five = 1 < 2 
bool_five = True

When I submit my answer it keeps telling me that "Oops, try again. Don't just use True or False! That's cheating!"

This is driving me nuts what am I doing wrong, can someone please help?


#2

Oops, try again. Don't just use True or False! That's cheating!

Just work with the comments to write an expression that will yield what is expected...

# Make me true!
bool_one = 3 < 5  # We already did this one for you!
# Make me false!
bool_two = 7 == 8 
# Make me true!
bool_three = 8 == 8
# Make me false!
bool_four = 9 <= 1
# Make me true!
bool_five = 1 < 2

#3

This helped so much thanks for answering, can't believe I didn't get that at first. Feeling a bit silly but we have to learn sometime!

Thanks again mtf