input: from typing import List
  
  def elementwise_multiplication(A: List[List[int]], B: List[List[int]]) -> List[List[int]]:
      """
      Multiply two matrices element-wise and return the resulting matrix.
  
      >>> elementwise_multiplication([[3, 4], [1, 2]], [[7, 5], [0, 1]])
      [[21, 20], [0, 2]]
      """
      
      # Check if the matrices have the same dimensions
      if len(A) != len(B) or len(A[0]) != len(B[0]):
          return "Matrices must have the same dimensions"
  
      C = [[0 for _ in range(len(A[0]))] for _ in range(len(A))]
  
      for i in range(len(A)):
          for j in range(len(A[0])):
              C[i][j] = A[i][j] * B[i][j]
  
      return C
output:     # Check if the matrices have the same dimensions
      if len(A) != len(B) or len(A[0]) != len(B[0]):
          return "Matrices must have the same dimensions"
  
      C = [[0 for _ in range(len(A[0]))] for _ in range(len(A))]
  
      for i in range(len(A)):
          for j in range(len(A[0])):
              C[i][j] = A[i][j] * B[i][j]
  
      return C