ls=[111,222,333,444,555,666,777,888,999]
lt=[999,777,555,333,111]
The final result should be :111999+222777+333555+444333+555*111+666+777+888+999 And
cnt = 0for i in range (len(ls)):if i <len(lt):cnt += int(str(ls[i]) + str(lt[i]))else:cnt += ls[i]print(cnt)
I spent a long time on my cell phone , You can get the correct answer by aligning yourself