Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use list in python

seller = ['apple', 'banana', 'avocado'] # the list
new_item = 'kiwi' # new item in the store
seller.append(new_item) # now it's have been added to the list
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #list #python
ADD COMMENT
Topic
Name
1+2 =