python int and str code example Example: how to add string with number in python >>> print 'red' + str(3) red3 >>>