Python input保证输入为int类型

t = float(input("t(℃)="))

猜你喜欢

转载自www.cnblogs.com/3daytears/p/9226604.html