append
🚃 在小火车车尾再挂一节车厢
把一个新元素添加到列表的最后面。
English
🚃 Attaching a new car to the end of a train
Adds an item to the end of a Python list.
代码示例
nums.append(100)探索 100 张双语词卡 →
把一个新元素添加到列表的最后面。
🚃 Attaching a new car to the end of a train
Adds an item to the end of a Python list.
nums.append(100)探索 100 张双语词卡 →