1# Use the function str() to turn an integer into a string
2integer = 123
3string = str(integer)
4string
5# Output:
6# '123'
1# Convert integer to string in Python using str() function
2
3num = 10
4print('type(num): ',type(num))
5
6num_str = str(num)
7
8print('type(num_str): ', type(num_str))