Iterasi hari terakhir bulan Python

import calendar
year, month = 2016, 12
calendar.monthrange(year, month)[1]
Tough Thrush