Is It Ten? (Problem 27) - InfyTQ Solution in Python
Is It Ten? (Problem 27)
InfyTQ Solution in Python
PROBLEM STATEMENT
Given 2 positive integers, write a python function to return True if one of them is 10 or if their sum is 10, else return False.
Sample Input | Expected Output |
---|---|
10,9 | True |
2,8 | True |
2,9 | False |
SOLUTION
SHARE
If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
CODE TOGETHER..GROW TOGETHER.
Newer Posts
Newer Posts
Older Posts
Older Posts
Comments