30. Python Program to Multiply Two Matrices

preview_player
Показать описание
Join this channel to get access to perks:
Hello friends,

Wath tutorial for multiplication of two matrix.
Learn technical and programming tutorial form IT SKILLS WITH SURAJ DATIR.

Thanks for watching
IT SKILLS WITH SURAJ DATIR
#ITSKILLSWITHSURAJDATIR #PROGRAMMING #ANDRIOD
Рекомендации по теме
Комментарии
Автор

Can you do an example where you're example to explain this in detail?

x = [[1, 2], [4, 5], [3, 6]]
y = [[1, 2, 3, 4], [5, 6, 7, 8]]

for i in range(len(xx)):
#iterating by column by y
for j in range(len(yy[0])):
#iterating by rows of Y
for k in range(len(yy)):
result[i][j] += xx[i][k] * yy[k][j]

bsdvs