introducing-python-notes
latest
前言
第一章 Python 初探
1.1 The Zen of Python
第二章 Python 基本元素
2.1 变量, 名字和对象
2.2 数字
2.2.1 基数
2.2.2 类型转换
2.2.3 浮点数
2.3 字符串
2.3.1 使用引号创建字符串
2.3.2 使用
str()
进行类型转换
2.3.3 使用
\
转义
2.3.4 使用
+
拼接字符串
2.3.5 使用
*
复制字符串
2.3.6 使用
[]
提取字符
2.3.7 使用切片提取字符串
2.3.8 使用
len()
获取长度
2.3.9 使用
split()
分割字符串
2.3.10 使用
join()
合并字符串
2.3.11 查找与判断
2.3.12 大小写与对齐
2.3.13 使用
replace()
替换
2.3.14 更多关于字符串的内容
Roadmap
introducing-python-notes
Docs
»
Notes for Introducing Python
Edit on GitHub
Notes for Introducing Python
¶
前言
第一章 Python 初探
1.1 The Zen of Python
第二章 Python 基本元素
2.1 变量, 名字和对象
2.2 数字
2.2.1 基数
2.2.2 类型转换
2.2.3 浮点数
2.3 字符串
2.3.1 使用引号创建字符串
2.3.2 使用
str()
进行类型转换
2.3.3 使用
\
转义
2.3.4 使用
+
拼接字符串
2.3.5 使用
*
复制字符串
2.3.6 使用
[]
提取字符
2.3.7 使用切片提取字符串
2.3.8 使用
len()
获取长度
2.3.9 使用
split()
分割字符串
2.3.10 使用
join()
合并字符串
2.3.11 查找与判断
2.3.12 大小写与对齐
2.3.13 使用
replace()
替换
2.3.14 更多关于字符串的内容
Roadmap
Read the Docs
v: latest
Versions
latest
Downloads
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.