Computer Science, asked by irene41, 5 months ago

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 jubinminocha
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