主要用到两个函数

list.pop() 返回并删除最后一个, 也可以 list.pop(n)

list.insert(0, item)

相关文章:

  • 2022-01-06
  • 2022-12-23
  • 2022-02-24
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
猜你喜欢
  • 2021-11-27
  • 2021-11-05
  • 2021-08-15
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案