Help me in solving PYPRACMCQ9 problem

My issue

Explain your approach for solving this question

Learning course: Practice Python
Problem Link: CodeChef: Practical coding for everyone

@anon29056091

You can solve it as below:

a, b=map(int, input().split())
if (a+b+(a*b)==111):
print (β€œYes”)
else:
print (β€œNo”)

1 Like