DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to create an empty list of certain length in python
>>
>
l
=
[
None
]
*
10
>>
>
l
[
None
,
None
,
None
,
None
,
None
,
None
,
None
,
None
,
None
,
None
]
PREVIOUS
NEXT
Tagged:
#create
#empty
#list
#length
#python
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit