The Grand Finale


#1


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

it gives me this error message but only after i add in the booleans
Oops, try again. The following exception was raised when calling the_flying_circus(): TypeError: 'int' object is not callable


the_flying_circus = True
def the_flying_circus():
    if 4 < 5 and not 6 > 7():
        print the_flying_circus
    elif the_flying_circus (False):
        print "False"
    else:
         print the_flying_circus


#2

That elif statement means absolutely nothing to python.

Perhaps you meant to check if the_flying_circus equals False. If so, how would you go about doing that?


#3

i've tried to do things like elif the_flying_circus = False():
but it gives me an error because of it


#4

False(): is not an acceptable value. Please look at the documentation for booleans.


#5

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