The big if


ERROR MESSAGE: Oops, try again. the_flying_circus() should return True, instead it returned: 'true'

how to solve this? any tips?

# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if 9 > 1: 
        print "true"# Start coding here!
        return 'true'# Don't forget to indent
        # the code inside this block!
    elif 1 > 9:
        print "false"
        return 'false'# Keep going here.
        # You'll want to add the else statement, too!
        return True


the else if should also return True.
I had problems with the question too before and i looked it up and some code that worked was :
def the_flying_circus():
if 3 == 3 or 4 != 5:
print('The flying cirus is awesome')
return True
elif 3 > 2 and 4 < 6:
print ('The flying circus is on point')
return True
print ('The flying circus is lame')
return False
Hope that helped and thank you to whoever i actually got the code from :smiley:


Thank you it worked!!!


You are welcome! :smiley: <3


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