python int to formatted string code example Example: python integer to string format '{:d}'.format(42)