删除最后一项

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