2개의 동일한 길이의 리스트를 키와 값으로 이루어진 딕셔너리로 변경
list_A = ['a','b','c']
list_B = [1, 2, 3]
list_C = { x:y for x,y in zip(list_A,list_B) }
list_C
{'a': 1, 'b': 2, 'c': 3}
2개의 동일한 길이의 리스트를 키와 값으로 이루어진 딕셔너리로 변경
list_A = ['a','b','c']
list_B = [1, 2, 3]
list_C = { x:y for x,y in zip(list_A,list_B) }
list_C
{'a': 1, 'b': 2, 'c': 3}