2021年11月5日
摘要: 1.整型int # 类型转换 # res = '123' # print(type(res)) # str # res = int(res) # print(type(res)) # float '''int在做类型转换的时候 只能转换纯数字''' # int('123.123') # 报错 不识别 阅读全文
posted @ 2021-11-05 19:35 幽星 阅读(107) 评论(0) 推荐(0)