while 1 : a = int(raw_input()) if a == 42: break; print (a)
1 2 88 42 99
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 2, in <module> NameError: name 'raw_input' is not defined
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!