What's Wrong With The Indentation?



Hi. I'm trying to make a program (seen below) with Python in the Codecademy Lab, and whenever I try entering it in, they tell me there's something wrong with the indentation in the third line. I'm new to Python (and coding in general) so I don't know where to look and how to fix it. Help is appreciated.

firstq = raw_input("Hello there! Are you having a good day?(Type YES or NO)")
secq= raw_input("Would you like me to tell you a story?")
    if firstq= "YES"
        print "Good!"
    elsif firstq= "NO"
        print secq


Hi I think that it's because you don't need to indent the if and elif statement .
and instead of elsif you should write elif and its missing a : after each condition

if (condition):
    #do Something
elif (condition):
    #do SOmething

and for equality you should use == instead of =
Hope that could help you


It's working now!!! Thanks!