Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python Change the second item

thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)
 
PREVIOUS NEXT
Tagged: #python #Change #item
ADD COMMENT
Topic
Name
1+1 =