更改列表项目的值

  1. thislist = ["apple", "banana", "cherry"]
  2. thislist[1] = "mango"
  3. print(thislist)