name = ['A', 'B', 'C']path = ['p/A', 'p/B', 'p/C']your_dict = dict(zip(name, path))print(your_dict)
Standard input is empty
{'A': 'p/A', 'B': 'p/B', 'C': 'p/C'}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!