DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python add item to list
# to add an item to a list list.append(item) # To extend an list with a new list list1.extend(list2)
PREVIOUS
NEXT
Tagged:
#python
#add
#item
#list
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit