Python input保证输入为int类型

时间:2018-06-25 23:39:22   收藏:0   阅读:489
t = float(input("t(℃)="))

原文:https://www.cnblogs.com/3daytears/p/9226604.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!