How is this working? Conditionals and control flow - 15/15


Make sure that the_flying_circus() returns True

def the_flying_circus():
    if (5 < 6) and (6 > 5):    
        print "The circus is flying"
        return True
    elif 98 != 98:
        print "The circus is not flying"
        return False 
        print "There is not circus"


I apologize if this is the incorrect place to post this.

I just needed an answer and couldnt find a more appropriate place.


Since 5 will always be less than 6 and 6 will always be greater than 5, your elif and else statements are never executed.


please format your code properly.

Do the following:

  • copy your code and paste it here
  • select the whole code
  • click on the </> above

you can edit your code


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