Search
 
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
Name
1+5 =