DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
List Change a Element
a = [1,2,3] a[2] = "b" print(a) # [1, 2, 'b']
Source by xahlee.info #
PREVIOUS
NEXT
Tagged:
#List
#Change
#Element
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit