print([x for x in range(20) if x % 2 == 0])
Standard input is empty
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!