input: Write a function to generate a two-dimensional array filled with zeros given the number of rows and columns. If rows or columns are zero, the function should 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(1, 4)==[[0, 0, 0, 0]]
  assert generate_zeros_array(0, 3)==[]
  assert generate_zeros_array(2, 0)==[]
  assert generate_zeros_array(0, 0)==[]
output: def generate_zeros_array(row, col):
      return [[0] * col for _ in range(row)] if row > 0 and col > 0 else []