Weird syntax error
20rduncan (11)

I keep getting this syntax error on my program and I don't know what it means:
SyntaxError: Unexpected token, expected ; (5:17)
Can anyone help me out?

You are viewing a single comment. View All
pyelias (931)

else shouldn't be followed by a condition (like (age < 21)). Just use else { ... }

20rduncan (11)

Oh! Okay, I'll fix that. Thanks for the help!