Skip to content
Advertisement

Python program to calculate student grades [closed]

This is my first program in Python and I am having some trouble so forgive me if I have some simply syntax issues.

I am writing a program that calculates a student’s final score based on one exam grade worth 60% and 7 other test scores worth a combined 40% of the final grade. The user is asked to input the one exam score then asked to input the 7 test scores which are read in a loop. The letter grade is then determined from the final score calculated from the exam and tests. After that a grade comment is printed corresponding to the letter grade given to the student. This is my code so far:

JavaScript

Advertisement

Answer

Here’s my answer. The code should run. Notes are inserted as comments.

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement