Advertisement
kkalog

Untitled

Jul 21st, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. sample_list = [12,24,35,24,88,120,155,88,120,155]
  2. non_duplicate_list = []
  3.  
  4.  
  5. for i in sample_list:
  6.        if i not in non_duplicate_list:
  7.           non_duplicate_list.append(i)
  8.          
  9. print non_duplicate_list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement