my_dict = {p[0]: dict((x,y) for x, y in zip(list1[0][1:], p[1:])) for p in list1[1:]} print(my_dict). Results in:
確定! 回上一頁