ZhangZhihui's Blog  
MONTHS = [f'{i:02}' for i in range(1, 13)]

print(MONTHS)

['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']

posted on 2022-02-15 10:41  ZhangZhihuiAAA  阅读(50)  评论(0编辑  收藏  举报