phy= float(input("Enter Physics marks: "))
chem= float(input("\nEnter Chemistry marks: "))
math= float(input("\nEnter Maths marks: "))
bio= float(input("\nEnter Biology marks: "))
total= phy+chem+math+bio
agg= (total/400)*100
if(agg>75):
    print("\nGrade: Distinction")
elif(agg>60 and agg<75):
    print("\nGrade: First Division")
elif(agg>50 and agg<60):
    print("\nGrade: Second Division")
elif(agg>40 and agg<50):
    print("\nGrade: Third Division")
else:
    print("\nGrade: Fail")
        

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: