Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python List append()

How to append element to a list in Python
# Programming list
programming_list = ['C','C#','Python','Java','JavaScript']

# append the HTML item to the list
programming_list.append('HTML')
print('The new list is :', programming_list)
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #Python #List
ADD COMMENT
Topic
Name
5+3 =