Advertisement
k1alo

Untitled

Sep 29th, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. x = int(input("Введите ваш год рождения: "))
  2. animals = ("дракон", "змея", "лошадь", "коза", "обезьяна", "петух", "собака", "свинья", "крыса", "бык", "тигр", "кролик")
  3. print(animals[(x -2000) % 12])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement