Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list with several same values

# To add v, n times, to l:
l += n * [v]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #values
ADD COMMENT
Topic
Name
2+2 =