Using Python 2.7.12
I need to create a list as follows:
lista = [[],[],[],[],.........,[]]
This list must have a very large number of lists within it (so the ........). I found the following way to accomplish this:
lista = [[]]*n
Wh...
asked on
15.05.2018 / 01:31