input: Write a function called elementwiseMultiply that takes two matrices A and B and returns a new matrix C where each element C[i][j] is the product of the elements A[i][j] and B[i][j]. If the two matrices do not have the same dimensions, return "Matrices must have the same dimensions for element-wise multiplication".
  assert elementwiseMultiply([[3, 4], [1, 2]], [[7, 5], [0, 1]]) == [[21, 20], [0, 2]]
  assert elementwiseMultiply([[3, 4]], [[7, 5]]) == [[21, 20]]
  assert elementwiseMultiply([[3, 4, 5]], [[7, 5, 2]]) == [[21, 20, 10]]
  assert elementwiseMultiply([[3, 4], [1, 2]], [[7, 5]]) == "Matrices must have the same dimensions for element-wise multiplication"
  assert elementwiseMultiply([], []) == "Matrices must have the same dimensions for element-wise multiplication"
output: def elementwiseMultiply(A, B):
      if len(A) != len(B) or any(len(rowA) != len(rowB) for rowA, rowB in zip(A, B)):
          return "Matrices must have the same dimensions for element-wise multiplication"
      return [[A[i][j] * B[i][j] for j in range(len(A[0]))] for i in range(len(A))]