fork download
  1. print([n ** 2 for n in xrange(10)])
  2. print({j: i for i, j in enumerate(["foo", "bar", "baz"])})
Success #stdin #stdout 0.01s 7736KB
stdin
Standard input is empty
stdout
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
{'baz': 2, 'foo': 0, 'bar': 1}