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.


Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS