Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

append element to list py

lst = ["f", "o", "o", "b", "a","r"]
lst.append("b")
print(lst) # ["f", "o", "o", "b", "a", "r", "b"]
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #append #element #list #py
ADD COMMENT
Topic
Name
4+9 =