import calendar calendar.monthrange(Y,M)[1]
for i in range(1,calendar.monthrange(Y,M)[1] +1)
下から選んでください: