GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — pythonicway/Normal way/removeDuplicate.py at master · el2e10/pythonicway Expand file tree/ Copy pathremoveDuplicate.pyMore file actions 14 lines (10 loc) · 252 Bytes / Copy pathremoveDuplicate.pyFile metadata and controls14 lines (10 loc) · 252 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 arr = [1, 2, 2, 3, 4, 5, 2, 5, 6, 6, 7, 8, 2, 9] no_duplicates_list = [] for i in arr: if i in no_duplicates_list: continue else: no_duplicates_list.append(i) print(no_duplicates_list) # Result # [1, 2, 3, 4, 5, 6, 7, 8, 9] |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |