Question: Hello I need help to modify my python code: As grading policy, I NEED TO DROP THE LOWEST GRADE OF TEST1, TEST2, OR TEST3. IN

Hello I need help to modify my python code:

As grading policy, I NEED TO DROP THE LOWEST GRADE OF TEST1, TEST2, OR TEST3. IN CASE THE GRADE OF TEST1 IS LOWER THAN THE GRADE ON TEST2 AND TEST 3 DROP IT. THE SAME RULE APPLY FOR TEST2 AND 3

GET THE AVERAGE AFTER REMOVING THE LOWEST GRADE.Hello I need help to modify my python code: As grading policy,

#Letter grade: def letterGrade (avg): if (avg >= 90): LG = "A" elif (avg >= 80): LG = "B" elif (avg >= 70): LG = "C" elif (avg >= 60): LG = "D" else: LG = "F" return LG def Average (Testi, Test2, Test3, Final): return 0.2*Testl + 0.2*Test2 + 0.2*Test3 +0.4 * Final Testl = eval (input ("Enter the score of Testl: ")) Test2 = eval (input ("Enter the score of Test2: ")) Test3 = eval(input ("Enter the score of Test3: ")) Final = eval (input ("Enter the score of Final: ")) FinalAvg=Average (Testi, Test2, Test3, Final) LetGrade = letterGrade (FinalAvg) print("Final Average ", FinalAvg, "Letter grade Let Grade)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!