天干地支 本文最后更新于 2024-07-16T20:15:01+08:00 图片 MyCode 1234567891011TianGan=["jia","yi","bing","ding","wu","ji","geng","xin","ren","gui"]DiZhi=["zi","chou","yin","mao","chen","si","wu","wei","shen","you","xu","hai"]year=int(input())-4t=year%10d=year%12print(TianGan[t]+DiZhi[d]) CodeWorld #LanQiao 天干地支 https://ianwusb.blog/2024/03/25/天干地支/ 作者 Ianwusb 发布于 2024年3月25日 许可协议 最长递增 上一篇 金币 下一篇