The big if exercise


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

this is my coding....plz gv me the correct one..plz

def the_flying_circus():
    if 5 + 5 < 11 and 4 + 4 != 7:
        return True
    elif 5 < 4:
        print "sdhgn"
        print "ydhfdg"

Did you indent it at all?

EDIT: By the looks of your edited code you haven't indented after the elif: and else:


Easier to read and see errors when code samples are posted correctly.



You are a relly wiseman, your code saved me. It was driving me nuts.

Thanky you