Guest User

Untitled

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