Программа на питоне,найти ошибку

import math
a=int(input())
if 1<=a<=2 or a==12:
print('Winter')
elif 3<=a<=5:
print('Spring')
elif 6<=a<=8:
print('Summer')
elif 9<=a<=11:
print ('Autumn')
else:
print("Wrong")
Ошибка:

elif 3<=a<=5:
^
SyntaxError: invalid syntax

Подскажите,пожалуйста,в чем ошибка,не понимаю...
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.