摘要: 常规类型判断 # 【字符串】类型判断 isinstance("s", str) # 【浮点数】类型判断 isinstance(3.14, float) # 【整数型】类型判断 isinstance(66, int) # 【布尔】类型判断 isinstance(True, bool) # 【列表】类型 阅读全文
posted @ 2021-12-20 15:47 码上测 阅读(1007) 评论(0) 推荐(0) 编辑