create an empty list of length n python code example
Example: how to create an empty list of certain length in python
>>> l = [None] * 10
>>> l
[None, None, None, None, None, None, None, None, None, None]
>>> l = [None] * 10
>>> l
[None, None, None, None, None, None, None, None, None, None]