在Python中,我们可以使用str()将int转换为String。 num1 = 100 print(type(num1)) # num2 = str(num1) print(type(num2)) # 输出量: 本文转载自: https://blog.csdn.net/