how to convert integer into a string in python code example Example: to string python x = 2.718 strX = str(x)