The big if


I have a problem with my code for this level. It wont let me pass the level and I am pretty sure that the code is right.
Here is the code:
def the_flying_circus():

if the_flying_circus()>5:        
    print "This really is true." and "IS AWESME"    
elif the_flying_circus():        
    print "That is true."    
    print"None of the above."

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


I found your issue. Inside the_flying_circus(), you can't say "if the_flying_circus() > 5." That is calling a function with no value to check if it is greater than 5. Also, the function has to return True. Here is how I did it:

def the_flying_circus():
if 2 != -2:
return True
elif 0 == 10 % 2:
return True
return not False

Hope it helped! :slightly_smiling:


Thx it worked! :smiley: Really helpful.