摘要:
昨日回顾: 1. 整型 python2 有长整型 python3 没有长整型 2.布尔值 转换 3.字符串详解 下标(索引) 索引是从0开始 切片 [起始位置:终止位置] 默认从左到右切 步长 [起始位置:终止位置:步长] (方向) strip split upper lower replace j 阅读全文
摘要:
# 1.整型 int()## python2 long 长整型## python3 全都是整型## 2.布尔值 bool()## 2.1 布尔值转换数字 # True int() # int(True) # int False # bool(int) # # 注意点: 只有0是False # 2.2 阅读全文