python(基本数据类型) 数字
数字整数(int)浮点(float)布尔值(bool)666 // int6.66 // floatTrue // bool检测方法typeisinstancetype(666) // 返回 inttype(66.6) // 返回 floattype(True) // 返回 boolisinstance(666, int) // 返回 True 第一个值为数据 第二个值为 类型 若属于该类型返回 True, 不属于返回 False...
原创
2021-05-25 22:03:22 ·
35 阅读 ·
0 评论