print([n ** 2 for n in xrange(10)])print({j: i for i, j in enumerate(["foo", "bar", "baz"])})
Standard input is empty
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81] {'baz': 2, 'foo': 0, 'bar': 1}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!