Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python create empty list size n

n = 5
lst = [None] * n
print(lst)
# [None, None, None, None, None]
Source by blog.finxter.com #
 
PREVIOUS NEXT
Tagged: #python #create #empty #list #size
ADD COMMENT
Topic
Name
3+7 =