Python Mini Project: Student Result Finder
🎯 Project Goal
When we give a roll number, the program should show:
• Student name
• Marks in each subject
• Total percentage
• Result class (Distinction, First Class, etc.)
🧠 How the Project Works (In Simple Words)
1. Store Student Names
o Use a dictionary where
§ Key = Roll Number
§ Value = Student Name
Example:
101 → Rahul
2. Store Student Marks
o Use another dictionary
o Roll number is the key
o Marks of subjects are stored as another dictionary inside it
Example:
101 → {Maths: 90, Science: 85, English: 80}
3. Ask for a Roll Number
o The user enters a roll number
o The program looks for this roll number in the dictionaries
4. Get Marks and Calculate Percentage
o Add all subject marks
o Divide by total marks
o Calculate percentage
5. Find the Result Class
o Use if–else conditions to decide the class:
Percentage Result
85% and above Distinction
60% – 84.99% First Class
50% – 59.99% Second Class
35% – 49.99% Pass Class
Below 35% Failed
6. Print the Final Result
o Show student name
o Show subject-wise marks
o Show percentage
o Show result class