python how to concatinate int to a string code example
Example 1: concatenate int to string python
string = 'string'
for i in range(11):
string +=str(i)
print string
Example 2: how to add string with number in python
>>> print 'red' + str(3)
red3
>>>