From c52da716ce2fdf8401d4a219b2acf5424fdb3fc2 Mon Sep 17 00:00:00 2001 From: Joshua Randall <jranda10@emich.edu> Date: Wed, 23 Oct 2024 10:32:35 -0400 Subject: [PATCH] fixed math error for printRuns() --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ea50525..03719b4 100644 --- a/main.py +++ b/main.py @@ -241,7 +241,7 @@ def printRuns(): else: minusPointStr = "" if pointsForRun[index][j] > defaults[index][j]: - addPointStr = " +" + str(defaults[index][j] + pointsForRun[index][j]) + addPointStr = " +" + str(pointsForRun[index][j] - defaults[index][j]) else: addPointStr = "" print("Run " + str(count) + ": " + f'{Fore.yellow}' + str(point) + f'{Fore.deep_pink_3b}' + minusPointStr + f'{Fore.light_green}' + addPointStr + f'{Style.reset}') -- GitLab