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