Write a PYTHON program to accept your mark check whether you have passed or failed in exam (passed in exam if, mark >33).
Answers
Answered by
0
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:
Explanation:
Similar questions
Physics,
5 hours ago
Environmental Sciences,
5 hours ago
English,
5 hours ago
Math,
10 hours ago
World Languages,
8 months ago
Social Sciences,
8 months ago