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)
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#add
#elements
#list
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit