I'm kinda new to python... So I've been strugling with a problem for a while and after doing a huge research I did not find solution so I decided to ask here :).
So the code that is explaining my problem:
test = []
solutions = []
i = 0
while i < 100:
    for i in range(0, 64):
        pos = random.randrange(0, 64)
        test.append(pos)
    solutions.append(test)
    test.clear()
    i += 1
So I want to add a copy of a table to another table everytime the loop goes and then clean the table named test. The problem is I don't know how to create a copy of list each time the loop goes. So I'm getting list of empty lists :(
I tried with copy.copy or copy.deepcopy but that didn't work.
That is my first question here so sorry for any "errors" also I'm not native english speaker but I hope you will be able to understand me.
 
     
     
    