concatenate int in a string name python code example
Example 1: append string variable with integer python
string = 'string'
for i in range(11):
string += 'i'
print string
# It will print string 012345678910.
Example 2: how to add string with number in python
>>> print 'red' + str(3)
red3
>>>