DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
add elements to a list
my_input = ['Engineering', 'Medical'] my_input.append('Science') print(my_input)
PREVIOUS
NEXT
Tagged:
#add
#elements
#list
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit