A lap korábbi változatát látod, amilyen
Gaebor (vitalap | szerkesztései) 2018. március 12., 16:54-kor történt szerkesztése után volt.
previous up next
strings
Drawing a matrix
Write a function that prints a matrix in a nice, tabular-like format.
For example the matrix:
m = [[1, 2, -33], [44, 5, 666], [7, -8, -99]]
would look like this:
| 1| 2| -33|
| 44| 5| 666|
| 7| -8| -99|
previous up next