Converting int 2 str in python:
In this post I will show you how you can convert from int 2 string in python.
First of all I will declare two variables and assign them to int and str types like this:
x = 12
y = ''
Now I will convert x which is of type int to string and assign it to variable y like this:
y = str(x)
Now y is assigned to 12 which is now of type str.