diff --git a/Schenk_Roman_IT21bWIN_Test_Aufg1.py b/Schenk_Roman_IT21bWIN_Test_Aufg1.py index 98adac1..c534f9b 100644 --- a/Schenk_Roman_IT21bWIN_Test_Aufg1.py +++ b/Schenk_Roman_IT21bWIN_Test_Aufg1.py @@ -26,3 +26,6 @@ print("B^TB:\n", B.T @ B) #Task B: print("4. Zeile von A x 2. Spalte von B:\n", A[3, :] @ B[:, 1]) +#Task C: +print("Spaltensumme A:\n", A.sum(0)) +print("Zeilensumme B:\n", B.sum(1)) \ No newline at end of file