Search
 
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
Name
2+8 =