仅作为记录,大佬请跳过。 用.remove 文章目录 例子参考 例子 a=[] for i in range(10): a.append(i) print(a) a_item=a[0] a.remove(a_item) print(a) 参考 感谢大佬博主文章:传送门