Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- small = int(input())
- big = int(input())
- goal = int(input())
- is_valid = False
- sum = (small + big) * 2
- if sum == goal:
- is_valid = True
- print(f'({small}, {big}, {goal})')
- print(is_valid)
Advertisement
Add Comment
Please, Sign In to add comment