Initialising an array of fixed size in python

description: python create array with length

code for creating array with fix length

1
2
3
>>> aList = [None] * 6
>>> aList
[None, None, None, None, None, None]