0
How do I change an integer to a string?
I couldn't do it, and I don't remember how. I don't remember even if it is possible.
4 ответов
+ 2
In python.
y=4
x=str(y) #now x is string data type.
the str function is used to convert any data type to string.
+ 5
a = int(39)
print("I am "+ str(a) +" years old")
+ 1
Thank you
+ 1
// Please add a relevant tag about programming language where you need help