from functools import *
from math import log10

a=[1,2,3,4,5]
b=reduce(lambda x,y:y+x*10**(int(log10(y))+1),reversed(a))

もっといいやり方がいくらでもありそう