append string and int python code example
Example 1: concatenate string and int python
# In python you need to cast the variable to a string with str()
var = 3
print('Variable = ' + str(var) )
Example 2: how to add string with number in python
>>> print 'red' + str(3)
red3
>>>