用append(),添加一个元素到list
append()
list
aList = [17, 25, 26, 24] aList.append(20) print(aList)
辽ICP备20010899号-2 2023-