iterar el último día de meses Python
import calendar
year, month = 2016, 12
calendar.monthrange(year, month)[1]
Tough Thrush
import calendar
year, month = 2016, 12
calendar.monthrange(year, month)[1]