Discussions Events Study Material Jobs
Input marks and print grade using conditions in Python - Uniwaly

Explore Diverse Conversations

Input marks and print grade using conditions in Python

Posted By: UmairMehmood Published On: 13 June 2025 At: 13:06 PM
marks = float(input("Enter your marks (out of 100): "))

if marks >= 90:
    print("Grade: A+")
elif marks >= 80:
    print("Grade: A")
elif marks >= 70:
    print("Grade: B")
elif marks >= 60:
    print("Grade: C")
elif marks >= 50:
    print("Grade: D")
else:
    print("Grade: Fail")

Tags:

python grade calculator in python python code
Login to like

Posted By:

Author Profile

UmairMehmood

11 days ago

Join the conversation!

Login to Comment

Discover More Articles

BPS 5 and BPS 16 Supreme Court of Pakistan Job Vacancies 2025

Schedule of assessment for the post of Enforcement officer and Investigation officer 2025

Compare the teacher education reforms in developed and developing countries.

Kazakhstan Government Scholarship - How to Apply ? - Complete Detail

University of Veterinary & Animal Sciences UVAS Swat

Write a program to calculate the sum of all elements in a list using a for loop using Python

فلم پی کے میں دکھایا گیا ایک سین حقیقت میں تبدیل

Differentiate between role-play and simulation. Discuss the use of each for making teaching learning effective at elementary level?

Voting Eligibility Checker Using Python

Punjab Higher Education Commission PHEC Jobs 2025