Advertisement
T-D-K

Untitled

May 3rd, 2018
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. a = int(input())
  2. b = int(input())
  3. c = int(input())
  4. if a == b and a == c:
  5.     print("3")
  6. else:
  7.     if a == b or a == c or b == c:
  8.         print("2")
  9.     else:
  10.         print("0")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement