Computer Science, asked by arjun3283, 4 months ago

WRITE A PYTHON PROGRAM TO DETERMINE STUDENT GRADE WHETHER HE/SHE PASS OR FAILED.THE FINAL GRADE IS CALCULATED AS THE AVERAGE OF MARKS FOR FOUR SUBJECTS​

Answers

Answered by Anonymous
4

Answer:

a = int(input("Enter marks of 1st Subject:"))

b = int(input("Enter marks of 2nd Subject:"))

c = int(input("Enter marks of 3rd Subject:"))

d = int(input("Enter marks of 4th Subject:"))

average_marks = (a+b+c+d)/4

if average_marks > 133:#133 is total taken as passing marks

print("You have successfully failed")

else:

print("You have successfully passed")

Explanation:

Attachments:
Similar questions