Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spells_1 = input().split(', ')
- spells_2 = input().split(', ')
- outlist = []
- for sp2 in spells_2:
- if sp2 not in spells_1:
- outlist.append(sp2)
- sp2.sort()
- print(*sp2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement