0天干地支 - 蓝桥云课 (lanqiao.cn)
import os
import sys
# 请在此输入您的代码
I1=['jia','yi','bing','ding','wu','ji','geng','xin','ren','gui']
I2=['zi','chou','yin','mao','chen','si','wu','wei','shen','you','xu','hai']
n=int(input())
n_=n-1900
n_=n_%60
i1=(n_+6)%10
i2=(n_) %12
print(''.join(I1[i1]+I2[i2]))
0明明的随机数 - 蓝桥云课 (lanqiao.cn)
import os
import sy