Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Student Grade Calculator (Python)

A simple, interactive Python program that calculates student grades based on marks entered between 0 and 100. Perfect for learning **input validation, conditional statements**, and **loops** in Python.

Features

  • User-friendly command-line interface
  • Input validation for marks (0–100)
  • Auto-grade assignment based on marks
  • Option to calculate multiple grades in one session
  • Handles invalid inputs gracefully

Grading Scale

Marks Range Grade
90 – 100 A+
80 – 89 A
70 – 79 B+
60 – 69 B
50 – 59 C
40 – 49 D
0 – 39 F

Getting Started

  1. Clone the repository
git clone https://github.com/mantrapatil03/python-beginner-friendly-projects/student-grade-calculator.git
cd student-grade-calculator
  1. Run the program

Make sure you have Python 3.x installed.

python Student_Grade_Calculator.py

Example Usage

Student Grade Calculator

Enter the marks (0-100): 85

Marks: 85.0

Grade: A

Do you want to calculate another grade? (y/n): y

Enter the marks (0-100): 43

Marks: 43.0

Grade: D

Do you want to calculate another grade? (y/n): n

Thank you for using the Student Grade Calculator!

Project Structure

student-grade-calculator/
│── Student_Grade_Calculator.py   # Main program file
│── README.md                     # Project documentation

Author

Mantra Patil

💼 LinkedIn: www.linkedin.com/in/mantrapatil25

✉ Email: techmantrapatil@gmail.com

⭐ If you found this project useful, give it a star on GitHub! ⭐