Kaloyankerr

Bricks

Oct 27th, 2019
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. small = int(input())
  2. big = int(input())
  3. goal = int(input())
  4. is_valid = False
  5. sum = (small + big) * 2
  6.  
  7. if sum == goal:
  8. is_valid = True
  9.  
  10. print(f'({small}, {big}, {goal})')
  11. print(is_valid)
Advertisement
Add Comment
Please, Sign In to add comment