update from atlas

This commit is contained in:
Luciano Ramalho
2015-03-31 18:48:24 -03:00
parent 104b2c9d2d
commit aab93699a4
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,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)