python convert to string format code example Example: convert int to string python int x = 5 string_from_int = str(x)