A simple yet powerful Python-based grading system for evaluating student marks across multiple subjects. This project collects student names, their subject-wise scores, computes the total, average, and assigns letter grades.
- Input-based grading for multiple students and subjects
- Automatic calculation of total and average
- Letter grade assignment based on average
- Console-based tabular report card output
- Clean and fully commented codebase
- Easily extensible (e.g., CSV export, GUI, web app)
- The user enters:
- Number of students
- Number of subjects
- Names of subjects
- For each student:
- Name and marks in each subject are entered
- Total and average marks are calculated
- A letter grade (A+ to F) is assigned
- A clean report card is displayed in the terminal.
| Average Score | Grade |
|---|---|
| 90โ100 | A+ |
| 80โ89 | A |
| 70โ79 | B |
| 60โ69 | C |
| 50โ59 | D |
| Below 50 | F |
No external libraries are required. Runs on Python 3.
Enter number of students: 2 Enter number of subjects: 3 Enter name of subject 1: Math Enter name of subject 2: Science Enter name of subject 3: Programming
Enter student name: Samuel Enter marks for Math: 95 Enter marks for Science: 88 Enter marks for Programming: 90
Samuel Dagne
๐ samueldagne.bio | ๐ผ LinkedIn | ๐ฆ @prof_sd567