fork(1) download
  1. while 1 :
  2. a = int(raw_input())
  3. if a == 42:
  4. break;
  5. print (a)
Runtime error #stdin #stdout #stderr 0.02s 27680KB
stdin
1
2
88
42
99
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
NameError: name 'raw_input' is not defined