How do I concatenate two integer numbers (for example: 10 and 20) in Python to get a returned value of 1020?
A rough but working implementation:
i1,i2 = 10,20 num = int('%i%i' % (i1,i2))
Basically, you just merge two numbers into one string and then cast that back to int.