Skip to content

Instantly share code, notes, and snippets.

@kaworun
Created February 26, 2013 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaworun/5035887 to your computer and use it in GitHub Desktop.
Save kaworun/5035887 to your computer and use it in GitHub Desktop.
year = io.read()
function junishi(y)
data = {"申","酉","戌","亥","子","丑","寅","卯","辰","巳","午","未"}
return print(data[year % 12])
end
junishi(year)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment