Suppose I have a given Object (a string \"a\", a number - let\'s say 0, or a list [\'x\',\'y\'] )
[\'x\',\'y\']
I\'d like to create list containing many copies of thi
You could do something like
x = n = L = [x for i in xrange(n)]
Substitute range(n) for Python 3.