Runtime error on The Big If


The Big If

The following exception was raised when calling the_flying_circus(): RuntimeError: maximum recursion depth exceeded while calling a Python object


# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if 4<5 and 3>1:  
      print "Hurray"# Start coding here!
        # Don't forget to indent
        # the code inside this block!
    elif 5!=5 or 78<10:
      print "LOL"
    else :
      print "zilch"
        # Keep going here.
        # You'll want to add the else statement, too!



you should call the function outside of that function.


Great! Thank you so much. It worked perfectly fine


Thank you very much it was helpful


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