Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. s = input()
  2. string_ans = ''
  3. for t in 'qwertyuiopasdfghjklzxcvbnm':
  4. ans = 0
  5. for j in s:
  6. if j == t:
  7. ans += 1
  8. if ans > 1:
  9. string_ans += t
  10. break
  11. print(string_ans)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement