python modify list element in for code example
Example: Python - Change List Items
thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)
thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)