摘要: 1 # python中提供了列队 没有栈 自己写一个栈 2 class StackFullError(Exception): 3 pass 4 class StackEmptyError(Exception): 5 pass 6 7 class Stack: 8 def __init__(self, 阅读全文
posted @ 2018-11-14 22:25 刹那灯火明 阅读(333) 评论(2) 推荐(0) 编辑