Computer Science, asked by samomi, 2 months ago

thislist = ["apple", "banana", "cherry"]

I. write a code to change the third element in the list

II. Change the values "banana" and "cherry" with the values "blackcurrant"

and "watermelon":

Answers

Answered by sambhavgautam6
0

thislist = ["apple", "banana", "cherry"]

thislist[1] = "blackcurrant"

thislist[2] = "watermelon"

print(thislist)

Similar questions