#字符串,内容放置在引号当中,python中的单引号和双引号没有明显区别 In [12]: 'I am string' Out[12]: 'I am string' In [13]: 'I am 19' Out[13]: 'I am 19' #数字字符串 In [14]: '19' Out[14]: '19' #在字符串中添加引号 In [15]: 'She is "Lily"' Out[15]: 'She is "Lily"' #数字 In [20]: 9 Out[20]: 9 #浮点数 In [21]: .1 Out[21]: 0.1 #长整数 In [23]: 10000000000000000000000000000 Out[23]: 10000000000000000000000000000L