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

Why Google stopped showing the card of summary of your site's performance on Google Search ?

Heavy Industries Taxila Education City Jobs 2025 - Teachers & Others HITEC Latest Jobs

Visiting / Teaching Faculty Jobs in University of Veterinary and Animal Sciences Lahore 2025

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

Graphic Designer Jobs in Forest Department , PAKISTAN 2025

Why does pyqtgraph PlotWidget stutter/lags when I pan, zoom with mouse while graph updates?

How to Keep a Camera Stream Active Across Pages Without Reinitializing the Camera on Each Page?

Discuss the need of new professional profile of teaching staff in order to survive in this competitive era.

Explain how action research by the teachers in class helps in effective teaching and improved learning outcomes

Pakistan Television Corporation ( PTV ) New Jobs 2025