python stringify int code example Example 1: how to make an int into a string python int x = 10 string p = str(x) Example 2: python parse int as string >>> str(123) '123'