Advertisement
namemkazaza

15

Feb 9th, 2021
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. a, b, c = map(int, input().split())
  2. c, d = 0, 0
  3. if a > 0:
  4.     c += 1
  5. else:
  6.     d += 1
  7. if b > 0:
  8.     c += 1
  9. else:
  10.     d += 1
  11. if c > 0:
  12.     c += 1
  13. else:
  14.     d += 1
  15. print(c, d)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement