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 — fluent_python_code/02-array-seq/bisect_insort.py at master · sdqscript/fluent_python_code Expand file tree/ Copy pathbisect_insort.pyMore file actions 12 lines (9 loc) · 210 Bytes / Copy pathbisect_insort.pyFile metadata and controls12 lines (9 loc) · 210 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 import bisect import random SIZE = 7 random.seed(1729) my_list = [] for i in range(SIZE): new_item = random.randrange(SIZE*2) bisect.insort(my_list, new_item) print('%2d ->' % new_item, my_list) |
| 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. |