while input():print 1print 0
1
Traceback (most recent call last): File "prog.py", line 1, in <module> EOFError: EOF when reading a line
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!