python turn string code example
Example 1: how to make an int into a string python
int x = 10
string p = str(x)
Example 2: float to int in python
# convert float to int
int(2.0) #output :2
int x = 10
string p = str(x)
# convert float to int
int(2.0) #output :2