python数据结构用法
2015-08-13 19:45
393 查看
list
shoplist = ['apple','mango','carrot','banana']
tuple
zoo = ('wolf','elephant','penguin')
dict
ab = {'Swaroop' : 'Swarooppch@byteofpython.info',
'Larry' : 'larry@wall.org'}
seq
shoplist = ['apple','mango','carrot','banana']
list, tuple, and character are seq but what is seq?
seq has two main character one is indexing,
the other is slicing.
shoplist = ['apple','mango','carrot','banana']
tuple
zoo = ('wolf','elephant','penguin')
dict
ab = {'Swaroop' : 'Swarooppch@byteofpython.info',
'Larry' : 'larry@wall.org'}
seq
shoplist = ['apple','mango','carrot','banana']
list, tuple, and character are seq but what is seq?
seq has two main character one is indexing,
the other is slicing.
相关文章推荐
- 数据结构实验之栈四:括号匹配 SDUT 2134
- 数据结构实验之栈四:括号匹配
- 数据结构实验之栈三:后缀式求值
- 数据结构
- [数据结构]堆
- 数据结构实验之栈二:一般算术表达式转换成后缀式
- 数据结构实验之栈一:进制转换
- 数据结构--画画--最小生成树(Prim算法)
- 数据结构-栈2(学习笔记)
- 数据结构-栈1(学习笔记)
- 数据结构—队列
- AVL树的构造实现
- 数据结构预算法C++描述( 一)引论
- 基本数据结构:树(tree)
- 数据结构笔试题(单选)
- 微软公司等数据结构+算法面试100题(第1-100题)全部出炉
- 数据结构之二叉树详解
- 数据结构日常笔记总结
- 图论-BFS解无权有向图最短路径距离
- H264数据结构