fork(1) download
  1. ar = []
  2. while True:
  3. line = input()
  4. if line == 'end':
  5. break
  6. ar.append([int(v) for v in line.split()])
  7.  
  8. print(ar)
  9.  
Runtime error #stdin #stdout #stderr 0.12s 23540KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 3, in <module>
EOFError: EOF when reading a line