Create dictionary from 3 lists – python
Looking for some help in creating a dictionary using 3 python lists a = [‘alpha’,’bravo’,’charlie’] b = [‘a’,’b’,’c’] c = [1,2,3] output: {‘alpha’: {‘letter’: ‘a’, ‘number’: 1}, ‘bravo’: {‘letter’: ‘b’, ‘number’: 2}, ‘charlie’: {‘letter’: ‘c’, ‘number’: 3}} I tried something like this. This may be close, but needs some tweaking: {k: dict(v) for k,v in… Read More Create dictionary from 3 lists – python