2018年4月13日

python数据类型

摘要: int(str) 函数将 符合整数的规范的字符串 转换成 int 型。 num2 = "123"; num2 = int(num1); print("num2: %d" % num2); ''' 输出 num2: 123 阅读全文

posted @ 2018-04-13 16:50 littlefive 阅读(143) 评论(0) 推荐(0) 编辑

导航