1. 整形 int
>>> a = 1
>>> type(a)
<class 'int'>
2. 浮点型 float
>>> b = 1.1
>>> type(b)
<class 'float'>
3. 布尔型 bool
>>> t = True
>>> f = False
>>> type(t)
<class 'bool'>
>>> type(f)
<class 'bool'>
4.复数型 complex
>>> c = 1+5j
>>> type(c)
<class 'complex'>
5.列表 list
>>> li = ['a','b','c',1,2,3]
>>> type(li)
<class 'list'>
6.元祖 tuple
>>> tu = (1,2,'a','b')
7.字符串 str
>>> s = 'abc'
>>> s2 = " hello python "
>>> s3 = ''' 三引号 ,可换行 '''
8.集合 set
>>> se = {'a','b','c','d'}
>>> type(se)
<class 'set'>
9.字典 dict
>>> di = {'a':2,'b':3}
>>> type(di)
<class 'dict'>