Answers for "Python - Change List Items"

0

Python - Change List Items

thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)
Posted by: Guest on February-28-2021

Python Answers by Framework

Browse Popular Code Answers by Language