My issue
Explain your approach for solving this question
Learning course: Practice Python
Problem Link: CodeChef: Practical coding for everyone
Explain your approach for solving this question
Learning course: Practice Python
Problem Link: CodeChef: Practical coding for everyone
You can solve it as below:
a, b=map(int, input().split())
if (a+b+(a*b)==111):
print (βYesβ)
else:
print (βNoβ)