def last_month_day(tm):
 (year, month) = tm[:2]
 day = _DAYS[month]
 if ((day == 28) and ((year % 4) == 0)):
  day = 29
 return day

def last_month_day ( tm ) : ( year , month ) = tm [ : 2 ] day = _DAYS [ month ] if ( ( day == 28 ) and ( ( year % 4 ) == 0 ) ) : day = 29 return day
return last day of this month .