Here is a list of lists from the program PYTHON
listoflists = []
list = []
for i in range(0,10):
list.append(i)
if len(list)>3:
list.remove(list[0])
listoflists.append((list, list[0]))
print listoflists
ThisĀ is the Website it derives from:
http://stackoverflow.com/questions/11487049/python-list-of-lists