convert in to str python code example Example 1: to str python >>> str(10) '10' >>> int('10') 10 Example 2: how to convert to string in python str(integer_value)