摘要: # number 之间的相互转换 # int float var1 = 1; print(type(var1)) # res1 = float(var1) print(res1) #1.0 print(type(res1)) # res2 = int(res1) print(res2) #1 print(type(res2)) # # int or float String var ... 阅读全文
posted @ 2019-05-17 10:22 Chris,Cai 阅读(1231) 评论(0) 推荐(0) 编辑