Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- string_ans = ''
- for t in 'qwertyuiopasdfghjklzxcvbnm':
- ans = 0
- for j in s:
- if j == t:
- ans += 1
- if ans > 1:
- string_ans += t
- break
- print(string_ans)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement