From 34131038683f48ea1f86a3e3204b825381d3b5c5 Mon Sep 17 00:00:00 2001 From: NilsForssen Date: Tue, 8 Feb 2022 11:12:31 +0100 Subject: [PATCH] change --- laboration3/uppgift_2.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/laboration3/uppgift_2.py b/laboration3/uppgift_2.py index fafc5f6..803620c 100644 --- a/laboration3/uppgift_2.py +++ b/laboration3/uppgift_2.py @@ -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]] - )) -- 2.30.2