comefrom: <doocs>1118.Number of Days in a Month_1.py
code: def numberOfDays( year: int, month: int) -> int:
      leap = (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0)
      days = [0, 31, 29 if leap else 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
      return days[month]
masked: def sample_funcname ( var_0 : int , var_2 : int ) -> int :
      var_7 = ( var_0 % 4 == 0 and var_0 % 100 != 0 ) or ( var_0 % 400 == 0 )
      var_12 = [ 0 , 31 , 29 if var_7 else 28 , 31 , 30 , 31 , 30 , 31 , 31 , 30 , 31 , 30 , 31 ]
      return var_12 [ var_2 ]
  