186k views
5 votes
Python program to display the mark report. If mark is above 90 Graded A+ If mark is between 80 and 90 Graded A If mark is between 60 and 79 Graded B If mark is less than 59 display Practice well

1 Answer

11 votes

Answer:

grade = int(input("Enter grade: "))

if grade>90:

print("A+")

elif grade<90 and grade>80:

print("A")

elif grade>60 and grade<79:

print("B")

elif grade<59:

print("Practice well")

User Bikey
by
5.0k points