fork download
  1. d = {i: 2*i for i in range(5)}
  2.  
  3. print(d)
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
{0: 0, 1: 2, 2: 4, 3: 6, 4: 8}