Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sample_list = [12,24,35,24,88,120,155,88,120,155]
- non_duplicate_list = []
- for i in sample_list:
- if i not in non_duplicate_list:
- non_duplicate_list.append(i)
- print non_duplicate_list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement