input: Write a function to convert a given string to a list of integers. The string will contain comma-separated integer values. The function should split the string by commas, convert each element to an integer, and return the resulting list of integers.
  def to_int_list(s):
      return [int(x) for x in s.split(',')]
  
  assert to_int_list('1,2,3,4,5')==[1,2,3,4,5]
  assert to_int_list('0,0,0,0')==[0,0,0,0]
  assert to_int_list('10,-2,3,5')==[10,-2,3,5]
  assert to_int_list('')==[]
output: def to_int_list(s):
      return [int(x) for x in s.split(',') if x]