# Pastebin eyz7PCLs a = [] for z in range(len(x)): z = x[-z-1]+y[-z-1] a.insert(0,z) #a = [z]+a #a.append(z) #a.reverse() print(a)