From 1075b343538599b760dbd8dc57220bb6f08a78a3 Mon Sep 17 00:00:00 2001
From: joshrandall8478 <joshrandall8478@gmail.com>
Date: Fri, 11 Oct 2024 11:41:35 -0400
Subject: [PATCH] changed default late penalty

---
 main.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.py b/main.py
index 46bbb69..73448fd 100644
--- a/main.py
+++ b/main.py
@@ -42,7 +42,7 @@ defaults = [
 
 # Late penalty if submission is late. 0 for no penalty
 
-latePenalty = scoreDefault * 0.1 # 10% of score default
+latePenalty = 8 # 10% of score default
 
 """
 ! NON CHANGEABLE
@@ -146,7 +146,7 @@ def adjustLate():
     global late
     global score
     global latePenalty
-    onTime = validateInput(input("Did the student turn in the assignment within 48 hours? [Y/n]: "))
+    onTime = validateInput(input("Did the student turn in the assignment within 5 days? [Y/n]: "))
     if onTime:
         points = latePenalty
     else:
@@ -276,7 +276,7 @@ def main():
         print(titleText.renderText(title))
         print()
         name = input("Student name?: ")
-        late = not validateInput(input("Did the student turn in the assignment within 48 hours? [Y/n]: "))
+        late = not validateInput(input("Did the student turn in the assignment within 5 days? [Y/n]: "))
         if(late):
             score = score - latePenalty
 
-- 
GitLab