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