xxxxxxxxxx
Names = ['Jon', 'Bill', 'Maria', 'Jenny', 'Jack']
#modify
Names[2] = 'Mona'
print(Names)
xxxxxxxxxx
#Change the values "banana" and "cherry" with the
#values "blackcurrant" and "watermelon":
thislist = ["apple", "banana", "cherry", "orange", "kiwi", "mango"]
thislist[1:3] = ["blackcurrant", "watermelon"]
print(thislist)
#Output :['apple', 'blackcurrant', 'watermelon', 'orange', 'kiwi', 'mango']