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.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #python #list #Using #method #append #item
ADD COMMENT
Topic
Name
7+4 =