Erster Stand: compute.py

Kommentar in compute.py hinzugefügt
Requirements: tabulate und ruff eingerichtet
This commit is contained in:
Aliyah committed 2026-10-22 11:30:54 +02:00
1 parent 635daf44b8
commit c48231f193
3 files changed
+7 -16

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
[project]
name = "matrixmania"
version = "0.1.0"
version = "0.1.0"
#(schönere matritzen als tabellen, code überprüfen)
dependencies = ["tabulate", "ruff"]
+1 -1
View File
@@ -196,4 +196,4 @@ if __name__ == "__main__":
print("All tests passed.")
# Zweiter Commit zum Testen der Versionskontrolle
# Zweiter Commit zum Testen der Versionskontrolle
+3 -14
View File
@@ -1,16 +1,5 @@
# This is a sample Python script.
from tabulate import tabulate
# Press ⌃R to execute it or replace it with your code.
# Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings.
matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press ⌘F8 to toggle the breakpoint.
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
print_hi('PyCharm')
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
print(tabulate(matrix, tablefmt="grid"))