Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list of size

li = [None] * 5 # [None, None, None, None, None]
li = [0] * 5 # [0, 0, 0, 0, 0]
Source by www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #python #list #size
ADD COMMENT
Topic
Name
1+2 =