Is there some way to create a list of lists in Python? Analogous to zeroes
or similar functions.
What I am thinking of is something like this (pseudocode to follow):
def listoflists(nlists, nitems, fill)
...
listoflists(2,3, -1) # returns [[-1,-1,-1],[-1,-1,-1]]