Syntax Error?


15. The Big If

I keep getting the same message whenever I try to submit this code, it looks fine to me and I can't find the issue. Help!

I File "python", line 9
else 12 > -1:
SyntaxError: invalid syntax

def the_flying_circus():
    if 9 <= 8:   # Start coding here!
       return True # Don't forget to indent
        # the code inside this block!
    elif 9**10 != 9840:
        return not False # Keep going here.
        # You'll want to add the else statement, too!
    else 12 > -1:
        return True


Recommend go back and review the entire module and do this lesson over from scratch. Use Reset to restore the original set up.


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