早睡早起,方能养生!
Sleep early rise early, way to keep healthy!

Python获取某个月份的总天数

2021-01-21 17:51
views 745

import calendar
print(calendar.monthrange(2021, 2)[1])
#28


分享
0 条讨论
top