Can anyone help me?


That's my code for "The big if"
It said that there is a mistake "Oops, try again. the_flying_circus() returned the value None, did you forget to add a return statement?"
How to add a return statement?
Can anyone help me? Thanks a lot

# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if 5 > 4 or 6== 2 *3 :    # Start coding here!
        print "ahhh" # Don't forget to indent
        # the code inside this block!
    elif 5 < 4 or 6==2*3:
        print "hunn"   # Keep going here.
        # You'll want to add the else statement, too!
        print " Ohh!"
print the_flying_circus()


Ok. I got the solution by myself.
I should write return True instead of print "xxx"



return True or False


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