The big if


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

This is my code but it won’t print anything, hope someone can please help me!


#2

functions only execute when called, you never call the function, so it never executes, so nothing gets printed


#3

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