print ''.join(map(str,range(20)))
Standard input is empty
012345678910111213141516171819
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!