Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_lst = []
- for i in lst1:
- nomatch = True
- for j in lst2:
- if i == j:
- nomatch = False
- if nomatch:
- new_lst.append(i)
- for k in lst2:
- nomatch = True
- for l in lst1:
- if k == l:
- nomatch = False
- if nomatch:
- new_lst.append(k)
- new_lst.sort()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement