Elif incorrect syntax


#1



https://www.codecademy.com/en/courses/python-beginner-BxUFN/4/1?curriculum_id=4f89dab3d788890003000096#


Error Message :

File "python", line 7
elif doodle + 2 == 1335:
^
SyntaxError: invalid syntax

I have no idea what is wrong with my elif, I attempted to find another post with the same issues but I had no luck. Any help would be greatly appreciated.


# Make sure that the_flying_circus() returns True
doodle = raw.input("Lol for real tho how was it?")
def the_flying_circus():
    if doodle == 1337 or doodle == 1336:    
      print 'not really sure if this is right but what ev'
    return True
    elif doodle + 2 == 1335:    
      print 'wtf?'
    return False
    else doodle < 1337:
      print 'well you probably need to understand this a little more'
return True


#2

the indent of return True in the line above is wrong, the return should be in the if clause:

if doodle == 1337 or doodle == 1336:    
      print 'not really sure if this is right but what ev'
      return True

same obviously for else if and else

and else can't have a condition, since it is everything else


#3


Thank you good sir!


#4