Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python define an array with length

>>> lst = [None] * 5
>>> lst
[None, None, None, None, None]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #define #array #length
ADD COMMENT
Topic
Name
3+3 =