python 回顾
2015-10-12 12:25
471 查看
1: 赋值:row_input() 输入什么,显示什么
input() 只能输入PYTHON支持的类型并显示结果
2: print 后不要空格 使用 ‘\b' 例子:print '\b' + x
3、列表解析语句: [L2.append() for i in L1 if i not L2]
input() 只能输入PYTHON支持的类型并显示结果
2: print 后不要空格 使用 ‘\b' 例子:print '\b' + x
3、列表解析语句: [L2.append() for i in L1 if i not L2]
相关文章推荐
- Comprehensive learning path – Data Science in Python深入学习路径-使用python数据中学习
- Python : __init__.py
- python处理代码文档
- 人类社交模拟(python实现)
- 使用python检测主机存活端口及检查存活主机
- Python yield 使用浅析
- 如何创建Python工程目录
- ROS运行python脚本报错ImportError: No module named srv
- Python开发环境配置(Windows)
- python电话 邮箱正则匹配清洗
- python调用R
- python中matplotlib和pandas画图
- python中的一些小技巧
- Python cgi windows
- Python set list dict tuple 区别
- Python tuples list
- Python 类型转化
- python re 记录
- python 字符串 time互转
- Python shutil.copy 函数