清空列表

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