Iteracja ostatniego dnia miesięcy 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]