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