Python(1)--list 和 tuple,&判断&循环
来源:互联网 发布:公安大数据宣传片 编辑:程序博客网 时间:2024/06/05 12:47
- list[].pop(); //删除最后一个 pop(x)删除索引 x 的元素
- list[].insert ( x, 'xxx') //在索引为 x 的地方 插入 'xxx'
- tuple() 不可改变的list
- if a tuple have only one element ,you must add a ',' in the end of that element
for example :
t=(1 , ) - if x=1 :
print(x)
else :
print(y) ////注意 if 判断后面 要加 : - if x=x :
elif x=1:
else : - while x=1:
- def x(y):
0 0
- Python(1)--list 和 tuple,&判断&循环
- #Python 廖雪峰老师#Week 1_4:list和tuple/条件判断/循环/dict和set
- [Python]List,Tuple,循环
- Python入门(三)——list和tuple,条件判断和循环,dict和set
- Python入门(三)——list和tuple,条件判断和循环,dict和set
- 自学python(03)list和tuple,条件判断和循环,dict和set
- python再复习(2)list、tuple、条件判断和循环、字典和set
- Python教程学习简记1--Python数据类型和变量 字符串和编码 list和tuple 条件判断 循环 dict和set
- Python教程学习简记1--Python数据类型和变量 字符串和编码 list和tuple 条件判断 循环 dict和set
- Python list和tuple
- Python list和tuple
- 开始Python -- List和Tuple(1)
- python的list和tuple
- python的list 和 tuple
- python中的list和tuple
- python 使用list和tuple
- Python List 、 tuple和dict
- Python(3)--list和tuple
- 8. 大型网站架构演化
- OllyDBG 入门系列<1> 认识OllyDBG
- setTimeout 超时调用
- 疯狂H5讲义笔记 - H5常用元素和属性
- 洛谷1273有线电视网
- Python(1)--list 和 tuple,&判断&循环
- 素数
- 1619-7 张良 十一月四号总结 [连续第三十五天]
- OllyDBG 入门系列<2> 字串参考
- jzoj 4860. 【NOIP2016提高A组集训第7场11.4】分解数 线性筛+双指针统计
- 进程同步之信号量机制(pv操作)及三个经典同步问题
- request和response操作响应行头体信息
- Java的容器 List、Set、Map的区别
- Linx命令之wget