... list elements del my_list[0:2] print(my_list) # 👉️ ['three']. Python del 按 ... pop 方法和 del 语句之间的主要区别是 list.pop() 返回删除的值。
確定! 回上一頁