doubt in matrix multiplication

s=[[2,3],[4,5]]
t=[[1,2,3],[1,2,0]]
l1=[]
def multiply_matrices(a,b):

  for i in range(len(a)):
     l2=[]
     for j in range(len(b[0])):
       x=a[i][0] * b[0][j] 
       y=a[i][1] * b[1][j]
       m=x+y
       l2.append(x)
    
    
    
     l1.append(l2)
  
  return(l1)  
multiply_matrices(s,t)  


i have submitted the matrix assignment and in that in the last question i have done it 2 times ,this above code is the first one and it is incorrect ,so how to correct it using only 2 for loops

Please check today’s session recording. We have discussed this problem solution there.