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