diff --git a/main.py b/main.py index 90193bb..215bdad 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,7 @@ fp.clear() while not False: answer = fp.replitInput( f"Please input the answer to question #{answerCount + 1}, empty answer to submit answer key" - ) + ).upper() if not answer: break answerCount += 1 @@ -25,7 +25,7 @@ while 1: for i in range(answerCount): answer = fp.replitInput( f"Please input the student's answer to question {i + 1}. ^C at any time to show results immediately." - ) + ).upper() if answer == answerKey[i]: right += 1 print(" That is correct")