Q:

How to create a function in Python that makes objects (i.e lists)

I couldn't find a guide that would help me out in this area. So I was hoping somebody could help me explain this kind of programming in Python. I am trying to write a code that goes something like this:
def Runner():
    for G in range(someRange):
        makeListObjectcalled 'ListNumber'+'G'
        ListNumberg.append(G*500000 or whatever)
        print ListNumberG 
    #so I would have a someRange amount of lists 
    #named 0,1,2,3...(up to someRange) I could look through

I think it can be done with classes (in fact I'm guessing thats what they're for...) but I'm not sure. Could someone lay me down some clarifications please?

A:

It looks like what you really want is a list of lists.
def Runner():
    Lists = []
    for G in range(someRange):
        Lists[G] = []
        Lists[G].append(G*500000 or whatever)
        print Lists[G]
        #This way, you have Lists[0], Lists[1], ..., Lists[someRange]

