input: Write a function to generate a two-dimensional array filled with zeros. The function should take the number of rows and columns as input and return the generated array. If the row or column values are zero, the function should return an empty list.
  def generate_zeros_array(row, col):
      if row == 0 or col == 0:
          return []
      return [[0] * col for _ in range(row)]
  
  # Test cases
  assert generate_zeros_array(3, 3) == [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
  assert generate_zeros_array(0, 0) == []
  assert generate_zeros_array(2, 4) == [[0, 0, 0, 0], [0, 0, 0, 0]]
  assert generate_zeros_array(1, 5) == [[0, 0, 0, 0, 0]]
  assert generate_zeros_array(0, 3) == []
  assert generate_zeros_array(3, 0) == []
output: def generate_zeros_array(row, col):
      if row == 0 or col == 0:
          return []
      return [[0] * col for _ in range(row)]