Write a Python program to calculate grade based on the marks.
Marks Grade
>90 A
>80 B
>70 C
>33 D
<33 E
Answers
Answered by
0
Answer:
if(avg>=90):
print("Grade: A")
elif(avg>=80&avg<90):
print("Grade: B")
elif(avg>=70&avg<80):
print("Grade: C")
elif(avg>=60&avg<70):
print("Grade: D")
else:
print("Grade:F")
Enjoy
Similar questions