会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ACHanHan
中北大学acm实验室成员 菜鸡一枚,一直走在追赶dalao的路上
博客园
首页
新随笔
联系
管理
订阅
02 2021 档案
python实现栈和队列
摘要:python实现栈 符合先进后出的规则 代码实现: #定义一个空 list 当做栈 stack = [] stack.append(1) stack.append(2) stack.append("hello") print(stack) print("取一个元素:",stack.pop()) pr
阅读全文
posted @
2021-02-19 17:05
ACHanHan
阅读(152)
评论(0)
推荐(0)
公告