2019年4月19日

day-07数据类型转换与字符编码

摘要: 类型转换 1.字符串转换为数字 res = int('10')print(res)res = int('-3')print(res)res = float('.15')print(res)res = float('-.15')print(res)res = float('-3.15')print(r 阅读全文

posted @ 2019-04-19 20:53 柯林伟 阅读(112) 评论(0) 推荐(0) 编辑

导航