Python program to print change the value of int into string

A Python program to print change the value of int into string. In this program we can print the integer into string in python programming language. In Python, the int() function is used to convert a string to an integer value. The string to convert into an integer and the base in which you want your data to be represented are both passed to int(). The second argument can be left blank if you don’t want to use it. The method returns an integer representation of the value you passed through int().

x = 5 
x = "inlarn"
print(x)

 

Output:

inlarn