Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Multiply two marrix
#python 3.6.9 X = [[1,2,3], [4,5,6], [7,8,9]] Y = [[10,11,12], [13,14,15], [16,17,18]] result = [[0,0,0], [0,0,0], [0,0,0]] for i in range(len(X)): for j in range(len(Y[0])): for k in range(len(Y)): result[i][j] += X[i][k] * Y[k][j] for r in result: print(r)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Lcm and hcf
(P3) Hamming 1
calculate the sum of string 201test70de88qa ( only numbers)
Email_Python
Idd or even
Ball
PyNamedTuple
Guessing game
события
Greatest Common Factor (Euclidean algorithm, aka Euclid's algorithm)
Please log in to post a comment.