how to concatenate a string and a number in python code example
Example 1: concatenate numbers python
z = int(str(x) + str(y))
Example 2: how to add string with number in python
>>> print 'red' + str(3)
red3
>>>
z = int(str(x) + str(y))
>>> print 'red' + str(3)
red3
>>>