📜  将整数转换为字符串 python 代码示例

📅  最后修改于: 2022-03-11 14:45:20.112000             🧑  作者: Mango

代码示例3
# Convert integer to string in Python using str() function
 
num = 10
print('type(num): ',type(num))
 
num_str = str(num)
 
print('type(num_str): ', type(num_str))