DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+1 =
Submit