Advertisement
Bad_Programist

Untitled

Nov 25th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. a = input()
  2. S = 0
  3. b = a.split(' ')
  4. while b != []:
  5.     S += 1
  6.     i = b[0]
  7.     while b.count(i) != 0:
  8.         b.remove(i)
  9. print(S)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement