Initialising an array of fixed size in Python [duplicate] October 5, 2022 by Tarik You can use: >>> lst = [None] * 5 >>> lst [None, None, None, None, None]