用 input() 函数返回的数据是字符串类型

用 input() 函数返回的数据是字符串类型。我们可以通过类型转换的方式,获得需要的数据类型。

原文地址:https://www.cnblogs.com/mingzhuqi/p/13211504.html