Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = input()
- b = input()
- c = a + b
- d = ""
- for i in range(len(c)):
- t = 0
- for j in range(len(c)):
- if i != j and c[i] == c[j]:
- t = 1;
- if t == 0:
- d += c[i] + ' '
- print(d)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement