Using python WAP
to find the grade of a student when
Percentage of Marks Grade
allocated as
in the table below :-
Above 90% A
80% to 90% B
70% to 80% C
60% to 70% D
Below 60% E
Answers
Answered by
0
Answer:
80% to 90%B is my choice
Answered by
6
Answer:
def grade(marks):
if(marks >= 90):
return "A";
elif (marks >= 80):
return "B";
elif (marks >= 70):
return "C";
elif (marks >= 60):
return "D";
else:
return "E";
print("The grade is: " + grade(100));
print("The grade is: " + grade(60))
Similar questions