Answer to Question #231092 in Python for umesh

Question #231092

Eligibility Criteria - 3

Given a student has scored M marks in Maths, P marks in Physics and C marks in Chemistry. Write a program to check if a student is eligible for admission in a professional course based on the following criteria:


M >= 35, P >= 35, C >= 35 and total in any of the two subjects >= 90.


Input

The first line is an integer M, the second line is an integer P and the third line is an integer C.


Output

The output should be a single line containing True if it satisfies the given conditions, False in all other cases.


Explanation

Given M = 50, P = 35, C = 40


So, the output should be True


1
Expert's answer
2021-08-31T07:17:31-0400
M = int(input())
P = int(input())
C = int(input())
print((M>=35 and P>=35 and C>=35 and (M+P+C)>=90))
    





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS