1)To change lists in the items in python.
thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)
2)
so the ans of this will be
['apple'.' blackcurrnat', 'watermelon', 'orange','kiwi', 'mango ' ]
3) If you insert more items than you replace, the new items will be inserted where you specified, and the remaining items will move accordingly
Written by nishan thapa
1)To change lists in the items in python.
thislist = ["apple", "banana", "cherry"]
thislist[1] = "blackcurrant"
print(thislist)
2)
so the ans of this will be
['apple'.' blackcurrnat', 'watermelon', 'orange','kiwi', 'mango ' ]
3) If you insert more items than you replace, the new items will be inserted where you specified, and the remaining items will move accordingly
