The Big If


The Big Iff

The console is returning this:
File "python", line 7
SyntaxError: invalid syntax

I was expecting it to return true.

L = 5
def the_flying_circus(L):
    if L == 9:    
        return True
    elif L > 6:
        return False
        return True


missing colon after else keyword


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