fork download
  1. with open('dataset_3363_2.txt') as inf:
  2. a=inf.read()
  3. a += 'kvakva'
  4. with open ('otvet.txt', 'w') as ouf:
  5. ouf.write(a)
Runtime error #stdin #stdout #stderr 0.11s 23536KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'dataset_3363_2.txt'