首页 > 代码库 > python 实现60甲子

python 实现60甲子

#!/usr/local/sbin/python3
# -*- coding:utf-8 -*-

tiangan = [,,,,,,,,,]
dizhi = [,,,,,,,,,,,]

index = 0

l = []

while index < 60:
    l.append(tiangan[index%10]+dizhi[index%12])
    index = index+1

print(l)

 

python 实现60甲子