早睡早起,方能养生!
Sleep early rise early, square can preserve one's health!

Python获取某个月份的总天数

2021-01-21 17:51
views 387
import calendar
print(calendar.monthrange(2021, 2)[1])
#28

分享
0 条讨论
top