The big if


#1



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


console: none

Oops, try again. The following exception was raised when calling the_flying_circus(): RuntimeError: maximum recursion depth exceeded

the code to work

# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if the_flying_circus() and 10 < 15:    # Start coding here!
        print ("The")    # Don't forget to indent
      # the code inside this block!
    elif the_flying_circus() or 5 + 5 == 10:
        print ("flying")   # Keep going here.
        
    else:
         print ("circus")# You'll want to add the else statement, too!
    return True


#2

if the_flying_circus() and 10 < 15:

what is the_flying_circus ? isn't a function? then what are you checking here?

put a condtion instead of the_flying_circus()


#3

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