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