基础数据类型
数字
python3 里,多少数字都叫 整形int
python2里,少的数字叫int,长的叫long
int 所有功能,都放在int里
字符串 str
s1 = “asdf”
元祖 tuple
字典 dict
布尔值 bool
扫描二维码关注公众号,回复:
1438751 查看本文章
基础数据类型
数字
python3 里,多少数字都叫 整形int
python2里,少的数字叫int,长的叫long
int 所有功能,都放在int里
字符串 str
s1 = “asdf”
元祖 tuple
字典 dict
布尔值 bool