hui = ( {'hui1': 1}, {'hui2': 2}, {'hui3': 3},)d = { k: v for d in hui for k, v in d.items() }print(d)
Standard input is empty
{'hui2': 2, 'hui3': 3, 'hui1': 1}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!