cleanup
This commit is contained in:
1 parent
e02b552da3
commit
ddaceeaffe
2 files changed
+6
-9
No files matched your search
@@ -103,17 +103,12 @@ def transpose(matrix: Matrix) -> list[list[float]]:
|
||||
Alle Zeilen werden zu Spalten und alle Spalten zu Zeilen.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
matrix
|
||||
Matrix in Form ``Sequence[Sequence[float]]``.
|
||||
|
||||
Returns
|
||||
-------
|
||||
list[list[float]]
|
||||
Die transponierte Matrix.
|
||||
|
||||
Raises
|
||||
------
|
||||
ValueError
|
||||
Wenn ``matrix`` leer ist oder nicht gleichmäßig viele Spalten
|
||||
in den Zeilen hat.
|
||||
@@ -167,8 +162,6 @@ if __name__ == "__main__":
|
||||
print("example 3 passed:", error)
|
||||
|
||||
|
||||
# end of main guard
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user