Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list Using the append() method to append an item

thislist = ["apple", "banana", "cherry"]
thislist.append("orange")
print(thislist)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #list #Using #method #append #item
ADD COMMENT
Topic
Name
9+4 =