0% found this document useful (0 votes)
2 views2 pages

FinalPythonProject Juniors

The project aims to create a Student Result Finder that displays a student's name, subject marks, total percentage, and result class based on their roll number. It utilizes dictionaries to store student names and marks, calculates the percentage from the marks, and determines the result class using conditional statements. Finally, it prints the student's details and results based on the input roll number.

Uploaded by

swathi_murthy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

FinalPythonProject Juniors

The project aims to create a Student Result Finder that displays a student's name, subject marks, total percentage, and result class based on their roll number. It utilizes dictionaries to store student names and marks, calculates the percentage from the marks, and determines the result class using conditional statements. Finally, it prints the student's details and results based on the input roll number.

Uploaded by

swathi_murthy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like