Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to fill a list in python

# Filling a list with numbers

search_list = []
search_list.extend(range(1, 101)) # [1,2,3,4,5,6,...,98,99,100]
print(search_list)
 
PREVIOUS NEXT
Tagged: #fill #list #python
ADD COMMENT
Topic
Name
2+7 =