📜  如何在python代码示例中循环月份名称

📅  最后修改于: 2022-03-11 14:45:28.290000             🧑  作者: Mango

代码示例2
# How to loop for every month in a range of years
for i in range(120): #(120 months in 10 years)
    print(date(2000 + i//12, i%12 + 1, 1))