Answer to Question #190337 in Python for python

Question #190337

Write a function called print_matrix that takes a 2D list(matrix) of 3x3 as a parameterand prints the values in matrix shape.


1
Expert's answer
2021-05-07T05:01:21-0400
def print_matrix(matrix):


	for el in matrix:
		print(*el)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS