The Big if "Make sure to use at least one boolean operator."


#1

Ok, ok by "boolean operator" it means like ==, !=, <=, >=, <, > right?

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

The code works fine, but I can't go on because codeacademy says "Make sure to use at least one boolean operator."

I expect this to work, because I do have boolean operators

Make sure to use at least one boolean operator.

# Make sure that the_flying_circus() returns True
answer = 10
def the_flying_circus():
    if answer != 5:    # Start coding here!
        print "You didn't answer 5"
    elif answer <= 21:
        print "You answered 21"
    else :
        print "You are an idiot"

print the_flying_circus()

#2

This is not a very practical exercise since all the SCT is checking is that a boolean operator is used, AND the function always returns True. Nothing else.


#3

Boolean operators are...and, or, not ......the other ones you mention are comparators