摘要: 1.type() 函数 使用 type() 函数可以查看数据类型。 示例: >>> type(123) <class 'int'> >>> type(12.3) <class 'float'> >>> type("abc") <class 'str'> >>> type([1,2,3]) <clas 阅读全文
posted @ 2022-09-01 16:47 Python探索牛 阅读(450) 评论(0) 推荐(0) 编辑