题解 | #获得月份天数#
获得月份天数
http://www.nowcoder.com/practice/13aeae34f8ed4697960f7cfc80f9f7f6
牛客的代码编辑器不能用calendar模组吗
import calendar
while True:
try:
a,b=[int(x) for x in input().split()]
print(calendar.monthlen(a,b))
except:
break