0
元組嗨,請我怎樣才能讓三分的元組進行(2S和1)的元組的2所列出的創建的3S
list1 = [(2345,7465), (3254,9579)]
list2 = [{'type': '62', 'length': 0.15, 'lanes': 1, 'modes': 'cwt'}, {'type': '62', 'length': 0.16, 'lanes': 1, 'modes': 'cwt'}]
輸出應該是這樣的:
list3 = [(2345,7465,{'type': '62', 'length': 0.15, 'lanes': 1, 'modes': 'cwt'}), (3254,9579,{'type': '62', 'length': 0.16, 'lanes': 1, 'modes': 'cwt'})]
@Martijn對不起,這是一個錯字,其現予以更正 – Nobi