Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add an item to a list in python

myList = [1, 2, 3]

myList.append(4)
 
PREVIOUS NEXT
Tagged: #add #item #list #python
ADD COMMENT
Topic
Name
8+1 =