0

Not sure why I'm getting Syntax Error

I am getting syntax error in line 5. I am probably making a beginner mistake somewhere but I can not see it. https://code.sololearn.com/c2G9zVZ31bDe/?ref=app

19th Nov 2020, 9:43 PM
Chris
2 Antworten
+ 11
*a value is missing before "and": elif age >= 12 and <= 17 : *Correct: elif age >= 12 and age <= 17 :
19th Nov 2020, 9:48 PM
CoffeeByte
CoffeeByte - avatar
+ 6
the lines should compare it twice, sperately. you have: elif age >= 12 and <= 17 : should be: elif age >= 12 and age <= 17 :
19th Nov 2020, 9:48 PM
Slick
Slick - avatar