摘要: 数据类型 int (整型,即整数) str(字符串,单个长度使长度为1的字符串) float(浮点型,即小数,默认为双精度) bool(True or False) 可通过type()函数输出数据类型 强制转换,int(“1”)将字符串转化为整型1 ### 整型,浮点型(数字型数据类型): 可以对数 阅读全文
posted @ 2023-11-25 19:51 无皈 阅读(15) 评论(0) 推荐(0)