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 item to a list in pithon
months
=
[
'January'
,
'February'
,
'March'
]
months
.
append
(
'April'
)
print
(
months
)
Source by www.datacamp.com #
PREVIOUS
NEXT
Tagged:
#add
#item
#list
#pithon
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit