Is there any function that can convert a tuple into an integer?
Example:
input = (1, 3, 7) output = 137
Just another way to do it
>>> sum(n*10**i for (i,n) in enumerate(input[::-1])) 137
and yet another
>>> int(str(input).translate(None,'(,) ')) 137