how to create an array with known length in python

Solutions on MaxInterview for how to create an array with known length in python by the best coders in the world

showing results for - "how to create an array with known length in python"
Eugenie
27 Jan 2019
1>>> lst = [None] * 5
2>>> lst
3[None, None, None, None, None]
4