摘要: 1 # coding:utf-8 2 3 class Stack(object): 4 """棧""" 5 def __init__(self): 6 self.__list = [] 7 8 def push(self, item): 9 """添加一個新的元素item到棧頂""" 10 self 阅读全文
posted @ 2019-09-11 23:32 李俊鹏Python 阅读(114) 评论(0) 推荐(0) 编辑