Eligibility Criteria - 4
This Program name is Eligibility Criteria - 4. Write a Python program to Eligibility Criteria - 4, it has two test cases
The below link contains Eligibility Criteria - 4 question, explanation and test cases
https://drive.google.com/file/d/1BXdR9DFZDOCHR0pCuEYhrnK_H98soAWI/view?usp=sharing
We need exact output when the code was run
M = int(input("Enter Math marks:"))
P = int(input("Enter physics marks:"))
C = int(input("Enter Chemistry marks:"))
if (M>=60 and P>=50 and C>=45 and M+P+C>=180) or (M+P>=120 or C+P>=110):
print("true")
else:
print("false")
Comments
Leave a comment