input: Write a function to compute the element-wise product of two given matrices A and B, and return the resulting matrix C. Each element in matrix C should be the product of the corresponding elements in matrices A and B. The input matrices A and B are guaranteed to have the same dimensions. Return an empty list if either of the matrices is empty.
  assert element_wise_product([[3, 4], [1, 2]], [[7, 5], [0, 1]])==[[21, 20], [0, 2]]
  assert element_wise_product([], [])==[]
  assert element_wise_product([[1]], [[2]])==[[2]]
  assert element_wise_product([[0, 1], [2, 3]], [[1, 1], [1, 1]])==[[0, 1], [2, 3]]
  assert element_wise_product([[5, -3], [4, 0]], [[2, -2], [1, -1]])==[[10, 6], [4, 0]]
output: def element_wise_product(A, B):
      if not A or not B:
          return []
      return [[A[i][j] * B[i][j] for j in range(len(A[0]))] for i in range(len(A))]