Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

append in Python

# append method adds an element at the end of the list
foo = [1, 2, 3]
foo.append(4)
print(foo) 
# Output - [1, 2, 3, 4]
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #append #Python
ADD COMMENT
Topic
Name
6+4 =