ktl014
8/9/2017 - 5:46 PM

initialize list of repeated numbers From https://stackoverflow.com/questions/3459098/create-list-of-single-item-repeated-n-times-in-python

>>> x=[5]
>>> y=[x] * 4
>>> y
[[5], [5], [5], [5]]
>>> y[0][0] = 6
>>> y
[[6], [6], [6], [6]]