python new list with size code example
Example 1: python create a list with fixed size
>>> [None]*10
[None, None, None, None, None, None, None, None, None, None]
Example 2: python list of size n
>>> l = [None] * 10
>>> l
[None, None, None, None, None, None, None, None, None, None]