Python calculates the code of the zodiac according to the year of birth

From , 5 Years ago, written in Python, viewed 194 times.
URL https://pastebin.vip/view/9fd7c9fc
  1. #计算生肖
  2. def ChineseZodiac(year):
  3.      return u'猴鸡狗猪鼠牛虎兔龙蛇马羊'[year%12]
  4.  
  5. ChineseZodiac(1990)

Reply to "Python calculates the code of the zodiac according to the year of birth"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website