Create a dictionary like this : {a:1, b:2, c:3, d:4, e:5} (use the most pythonic way)
Anonymous
list_a = ['a','b','c','d'] list_b = [1,2,3,4] my_dict = dict(zip(list_a,list_b)) print(my_dict) {'a': 1, 'b': 2, 'c': 3, 'd': 4}
Check out your Company Bowl for anonymous work chats.