From f52be6a3a5035f0136f76163ed2b3750680a75b9 Mon Sep 17 00:00:00 2001 From: eneller Date: Mon, 17 Feb 2025 12:31:40 +0100 Subject: [PATCH] adjust noten.py for master --- noten.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noten.py b/noten.py index d1aeb83..1cc7d81 100644 --- a/noten.py +++ b/noten.py @@ -2,7 +2,7 @@ # coding: utf-8 import pandas as pd -target_lp = 90 +target_lp = 74 data = pd.read_csv('./noten.csv') #data.head(5) @@ -21,6 +21,6 @@ for _ , row in data.iterrows(): weight = target_lp - acc_lp acc_note = acc_note + weight * row['note'] break -acc_note = acc_note / target_lp +acc_note = acc_note / acc_lp print(acc_note)