declare a list in python 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: creating a list of size n in python
>>> my_list = [None] * 10
>>> my_list
[None, None, None, None, None, None, None, None, None, None]