d = {} for i in range(5): d[i] = 2*i print(d)
Standard input is empty
{0: 0, 1: 2, 2: 4, 3: 6, 4: 8}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!