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