Python Program to convert int to string (Using the str() function)
n = 25
# check and print type of num variable
print(type(n))
print(n)
# convert the num into string
con_num = str(n)
# check and print type converted_num variable
print(type(con_num))
print(con_num)
Output:
<class 'int'>
25
<class 'str'>
25
