Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = input()
- x = 0
- xx = []
- xxx = []
- while i != 'stop':
- #print(i)
- xx.append(i)
- i = input()
- print('--------------')
- #print(xx)
- xx.sort()
- xx.append('end')
- #print(xx)
- #print(len(xx),xx[])
- print('--------------',len(xx))
- print()
- print()
- print()
- print()
- y = 0
- for j in range(len(xx)+1):
- if j+1 < (len(xx)):
- if xx[j] != xx[j+1]:
- xxx.append(xx[j])
- print(xx[j])
- y += 1
- if y == 20:
- print()
- y = 0
- print(len(xxx))
Advertisement
Add Comment
Please, Sign In to add comment