基础数据类型
数字
python3 里, 多少数字都叫 整形 int
python2 里, 少的数字叫 int, 长的叫 long
int 所有功能, 都放在 int 里
字符串 str
s1 = "asdf"
元祖 tuple
字典 dict
布尔值 bool
来源: http://www.bubuko.com/infodetail-2629961.html