append
🚃 Attaching a new car to the end of a train
Adds an item to the end of a Python list.
中文对照 · Chinese
🚃 在小火车车尾再挂一节车厢
把一个新元素添加到列表的最后面。
Code example
nums.append(100)Explore 100 bilingual word cards →
Adds an item to the end of a Python list.
🚃 在小火车车尾再挂一节车厢
把一个新元素添加到列表的最后面。
nums.append(100)Explore 100 bilingual word cards →