input: Write a function to generate a two-dimensional array filled with zeros, given the number of rows and columns as input. Return the generated array. If the input number of rows or columns is zero, return an empty list.
  def generate_zeros_array(row, col):
      return [[0] * col for _ in range(row)] if row > 0 and col > 0 else []
  
  assert generate_zeros_array(3, 3) == [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
  assert generate_zeros_array(0, 3) == []
  assert generate_zeros_array(3, 0) == []
  assert generate_zeros_array(0, 0) == []
  assert generate_zeros_array(2, 4) == [[0, 0, 0, 0], [0, 0, 0, 0]]
output: def generate_zeros_array(row, col):
      return [[0] * col for _ in range(row)] if row > 0 and col > 0 else []