Write a function called print_matrix that takes a 2D list(matrix) of 3x3 as a parameterand prints the values in matrix shape.
def print_matrix(matrix): for el in matrix: print(*el)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment