Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mes = input('Месяц: ')
- if mes == "12" or "1" or "2":
- s = "Зима"
- elif mes == "3" or "4" or "5":
- s = "Весна"
- elif mes == "6" or "7" or "8":
- s = "Лето"
- elif mes == "9" or "10" or "11":
- s = "Осень"
- else:
- print('Ошибка: Указан неверный месяц')
- print(s)
Advertisement
Add Comment
Please, Sign In to add comment