write a python program for Grading system .


 Marks = int(input("Enter marks :"))
if Marks >= 90 and Marks <=100:
    print("Grade : A")
elif Marks >= 80 and Marks <=89:
    print("Grade : B")
elif Marks >= 70 and Marks <=79:
    print("Grade : C")
elif Marks >= 60 and Marks <=69:
    print("Grade : D")
elif Marks >= 50 and Marks <=59:
    print("Grade : E")
elif Marks < 50:
    print("Grade : F")    
else:
    print("Enter Marks between 1 - 100")

Comments