0
Matrix in list formate
How to represent matrix in list formate
1 Answer
+ 6
With lists in lists:
m = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
You can reformat for easier reading:
m = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
]
How to represent matrix in list formate