DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to add multiple items in a list in python
fruits = ["apple","charry","orange"] fruits.extend(("banana","guava","rasbarrry")) print(fruits)
PREVIOUS
NEXT
Tagged:
#add
#multiple
#items
#list
#python
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit