tabulate hinzugefügt

This commit is contained in:
Kata committed 2026-11-05 14:44:20 +01:00
1 parent e83ebfeb8b
commit a9c95dfc03
2 files changed
+5 -3

No files matched your search

+3 -2
View File
@@ -1,6 +1,6 @@
from typing import List, Sequence from tabulate import tabulate
Matrix = List[List[int]] Matrix = list[list[int]]
def matmul(matrix_a: Matrix, matrix_b: Matrix) -> Matrix: def matmul(matrix_a: Matrix, matrix_b: Matrix) -> Matrix:
@@ -134,4 +134,5 @@ if __name__ == "__main__":
for row in rot_2D(math.pi/2): for row in rot_2D(math.pi/2):
print(row) print(row)
print(tabulate(rot_2D(1.0)))
#test git kommentar #test git kommentar
+2 -1
View File
@@ -1,3 +1,4 @@
[project] [project]
name = "matrixmania" name = "matrixmania"
version = "0.1.0" version = "0.1.0"
dependencies = ["tabulate", "ruff"]