Python code for following rules (m>=60 and p>=50 and c>=45) and (m+p+c)>=180 and (m+p)>=120 and (c+p)>=110)
Python code for following rules (m>=60 and p>=50 and c>=45) and (m+p+c)>=180 and (m+p)>=120 and (c+p)>=110)
m=int(input())
p=int(input())
c=int(input())
if((m>=60 and p>=50 and c>=45) and (m+p+c)>=180 and (m+p)>=120 and (c+p)>=110):
print(True)
else:
print(False)
Comments
Post a Comment