Problem with "The Big If"


#1

Hi folks,

I am getting struck at "The Big If" exercise.Hope there is a problem with my indentation.

Below is ma program:

def the_flying_circus():
    Elephant =2# Don't forget to indent
    Lion=2
    Man=1
    Joker = Elephant + Lion + Man 
        if Joker >= 5:    # Start coding here!
            print "Hope you enjoyed an amazing circus"# the code inside this block!
        elif Joker < 5:
            print "I didn't enjoy the circus since jokers are less in number"# Keep going here.
        else:
            print "This is the boring circus"# You'll want to add the else statement, too!
the_flying_circus()

Ma error:

Oops, try again. An exception was raised while running your code, see the console window for the error message.

Error in console window:

File "python", line 7
    if Joker >= 5:    # Start coding here!
   ^
IndentationError: unexpected indent

#2

print ( );
if ( ):
elif( ):

else :


#3

here:

Joker = Elephant + Lion + Man 
    if Joker >= 5:    # Start coding here!

why are these two lines not at the same indent level? You need to indent after if, not before


#4

Hi @stetim94,It's cool and worked.Thank you for your help.


#5