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:
[[Informatics2-2020/Lab04|previous]] [[Informatics2-2020#Labs|up]] [[Informatics2-2020/Lab06|next]]
 
  
 
= <tt>string</tt>s =
 
= <tt>string</tt>s =

A lap 2020. március 11., 10: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

  1. capitalletter
  2. birdtalk
  3. docstrings
  4. highwayrest
  5. isanagramma
  6. pointtable

previous up next

Személyes eszközök