create empty array python with size code example Example: how to create a fixed size empty array in python arr = [None] * 10