python 杂记
来源:互联网 发布:php旅游网站模板 编辑:程序博客网 时间:2024/06/08 06:29
1.python 把 a.test("hello")改为test(a,"hello")
2.(列表名称)more_stuff.pop() // 删除列表中最后一个元素
more_stuff.append() // 添加到列表中作为最后一个元素
more_stuff[3,5] 切片不包括5 [0,1,2,3,4,5] 与range情况相同
3.' ' . join (stuff)------->join(' ', stuff)
4.字典用法:http://www.runoob.com/python/python-dictionary.html
阅读全文
0 0
- Python杂记
- python杂记
- python杂记
- Python 杂记
- Python 杂记
- python杂记
- python杂记
- Python杂记
- python杂记
- Python杂记
- python杂记
- python杂记
- python杂记
- Python杂记
- Python-杂记
- python杂记
- python 杂记
- Python杂记
- hdu1754
- Tensorflow实战Google-第四章深层神经网络知识点
- 提升进程/程序权限(C#)
- Geode 创建并使用集群配置
- Unity_DOTween动画的学习(九)_可视化动画组件DOTween Animation的使用
- python 杂记
- 求逆序数
- 数字信号处理-C语言数字信号的产生
- 欢迎使用CSDN-markdown编辑器
- bzoj2177/51nod-1213 曼哈顿距离最小生成树
- 2-1 linux软件源配置与学习建议
- bash read file
- Java连接Geode示例
- 入门前的中秋节。——队列。