Python学习笔记01
来源:互联网 发布:建军大业影评 知乎 编辑:程序博客网 时间:2024/06/06 20:13
用的是3.6.1
以py结尾的文件
变量不需要声明
num = 23不需要;结尾
strs = “i am a string”
float = 2.3
bool = true
字符串的连接
+号
类型转换
str(2) 转字符串
int(“20140701”) 转int
其它类型类似
去空格方法
rstrip() right
lstrip() left
strip() both
注释
#
阅读全文
0 0
- Python 学习笔记01
- python学习笔记-01
- Python学习笔记01
- Python学习笔记01
- python学习笔记01
- Python学习笔记01
- Python学习笔记01
- python学习笔记01
- python学习笔记-01
- Python学习笔记01
- Python deque学习笔记01
- python学习笔记-01基础
- 【python】:python学习笔记
- Python学习笔记-Python起步
- Python学习笔记-Python基础
- Python学习笔记-Python对象
- Python基本概念--Python学习笔记
- Python学习笔记:Python函数
- c# winfrom程序中 enter键关联button按钮
- 关于单片机调试时电脑串口驱动丢失的解决办法
- UE4蓝图中的常用操作
- Java.lang.ExceptionInInitializerError 错误
- Jenkins全流程搭建
- Python学习笔记01
- 如何解决testng执行用例失败自动重跑问题
- LeetCode 71. Simplify Path
- Codeforces 812 C Sagheer and Nubian Market
- Linux Ubuntu 快速实现Mycat分片管理
- 【贪心策略】USACO 越野跑
- Elasticsearch 5 Ik+pinyin分词配置详解
- Lintcode——整数排序
- 责任链模式(Chain of Responsibility Pattern)