摘要: Python基本数据类型 ​ python中的数据类型主要包括:整数(int)、浮点数(float)、复数(complex)、字符串(str)、布尔值(bool)、空值(None) 。对标识符使用type()函数即可知道标识符代表的类型。 a=7 type(a) #输出:<class 'int'> 阅读全文
posted @ 2020-07-14 10:01 life_if_forever 阅读(113) 评论(0) 推荐(0)