Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list methods append in python

l1 = [1, 8, 7, 2, 21, 15]
l1.append(45) # adds 45 at the end of the list.

#it will append number at the end of list which number you will write. 
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #list #methods #append #python
ADD COMMENT
Topic
Name
4+2 =