change
authorNilsForssen <forssennils@gmail.com>
Tue, 8 Feb 2022 10:12:31 +0000 (11:12 +0100)
committerNilsForssen <forssennils@gmail.com>
Tue, 8 Feb 2022 10:12:31 +0000 (11:12 +0100)
laboration3/uppgift_2.py

index fafc5f66023d8bad22350688dec27578593d664d..803620c4f723062b1eff4d74b629444da77617af 100644 (file)
@@ -1,8 +1,5 @@
 # Uppgift 3
 
-from matplotlib.pyplot import sca
-
-
 def sum_of_ints2(value_list):
     tot = 0
     for inner in value_list:
@@ -72,9 +69,3 @@ def matrix_square(matrix):
             tot[i].append(scalar_product(col, matrix[i]))
 
     return tot
-
-
-print(matrix_square([[1, 2, 4],
-                     [3, 0, 6],
-                     [0, 5, 1]]
-                    ))