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