How the Tables Have Turned


#1



https://www.codecademy.com/courses/python-beginner-BxUFN/1/3?curriculum_id=4f89dab3d788890003000096#


It syas: Oops try again. double check your expression for bool_four!
even tho that the console output says "none" and thats what it suppost to say


i expect it to get me to the next challenge


# Create comparative statements as appropriate on the lines below!

# Make me true!
bool_one = 3 < 5  # We already did this one for you!

# Make me false!
bool_two = 7 > 18

# Make me true!
bool_three = 9 == 9

# Make me false!
bool_four = 3 >= 1

# Make me true!
bool_five = 3 <= 4


#2

bool_four should be false, 3 is greater then 1, so bool_four is true (should be false)


#3

The problem here is that bool_four returns 'True'
'>=' means greater than or equal to. 3 is greater than 1, so the statement is true.
It should be '3 <= 1', which will return 'False', as 3 is neither less than or equal to 1.


#4

yes i already realized that but thank's anyway


#5

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