For this Question: Given marks of a student in 5 subjects. You need to find the grade that a student would get on the basis of the percentage obtained. Grades computed are as follows:
If the percentage is >= 80 then print Grade ‘A’
If the percentage is <80 and >=60 then print Grade ‘B’
If the percentage is <60 and >=40 then print Grade ‘C’
else print Grade ‘D’The input contains 5 integers separated by spaces.

<b>Constraints:</b>
1 &le; marks &le; 100You need to print the grade obtained by a student.Sample Input:
75 70 80 90 100

Sample Output:
A

<b>Explanation</b>
((75+70+80+90+100)/5)*100=83%
A grade.
, I have written this Solution Code: li = list(map(int,input().strip().split()))
avg=0
for i in li:
   avg+=i
avg=avg/5
if(avg>=80):
    print("A")
elif(avg>=60 and avg<80):
    print("B")
elif(avg>=40 and avg<60):
    print("C")
else:
    print("D"), In this Programming Language: Python, Now tell me if this Code is compilable or not?