Informatics2-2020/Lab05
A MathWikiből
(Változatok közti eltérés)
(Új oldal, tartalma: „previous up next = <tt>string</tt>s = == Drawing a matrix == Write a function that …”) |
a |
||
1. sor: | 1. sor: | ||
− | |||
= <tt>string</tt>s = | = <tt>string</tt>s = |
A lap 2020. március 11., 11:23-kori változata
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|
In the hazi system
- capitalletter
- birdtalk
- docstrings
- highwayrest
- isanagramma
- pointtable