Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2023
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. year = int(input())
  2. year = year % 12
  3.  
  4. match year:
  5. case 0:
  6. print("Monkey")
  7. case 1:
  8. print("Rooster")
  9. case 2:
  10. print("Dog")
  11. case 3:
  12. print("Pig")
  13. case 4:
  14. print("Rat")
  15. case 5:
  16. print("Ox")
  17. case 6:
  18. print("Tiger")
  19. case 7:
  20. print("Hare")
  21. case 8:
  22. print("Dragon")
  23. case 9:
  24. print("Snake")
  25. case 10:
  26. print("Horse")
  27. case 11:
  28. print("Sheep")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement