random.seed(2013)
N = 10
skip = skiplist.IndexableSkiplist(N)
data = list(range(N))
random.shuffle(data)
for num in data:
    skip.insert(num)
print(list(skip))
for num in data[:N // 2]:
    skip.remove(num)
print(list(skip))
Inserting and removing into/from sorted list in Python