Your task for today is to create a simple Student class in Python that tracks grades and calculates averages. This project introduces you to object-oriented programming concepts while working with practical data management.
Project Task
Create a Student
class that:
Stores a student's name and a list of grades
Has methods to:
Add a new grade
Calculate the average grade
Get the letter grade (A, B, C, D, F)
Display a grade report
Then create student objects and test all the methods
Bonus (optional):
Add a method to find the highest and lowest grades
Create multiple students and compare their averages
Add input validation (grades must be 0-100)
Save student data to a file
This project gives you hands-on practice with classes, objects, and methods — the foundation of object-oriented programming in Python.
Expected Output
=== Student Grade Tracker ===
Student: Alice Johnson
Grades: [85, 92, 78, 90, 88]
Average: 86.6
Letter Grade: B
Total Assignments: 5
Added new grade: 95
Updated Report:
Student: Alice Johnson
Grades: [85, 92, 78, 90, 88, 95]
Average: 88.0
Letter Grade: B
Total Assignments: 6
Highest Grade: 95
Lowest Grade: 78
💻 Launch This Project in Colab
Open the interactive Google Colab notebook for today's project — with full instructions, hints, and solutions.
Click the button below to start coding — no setup needed:
Yes broooooo. looking for this :} trying to code thisbrotha send me the correct answers brotherrrr.