代码示例:(标识:python_list_append)
python_list_append.py
thislist = ["apple", "banana", "cherry"]
thislist.append("orange")
print(thislist)
运行结果: