📜  python整数到字符串 - Python代码示例

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

代码示例6
# Convert integer to string in Python using f-string method
 
num = 10
print('type(num): ',type(num))
 
num_str = f'{num}'
 
print('type(num_str): ', type(num_str))