fork download
  1. string hel="";
  2. int j = 0;
  3. while(all[j] != ',') {
  4. hel += all[j++];
  5. }
  6. j++;
  7. a[i]=hel;
  8. hel="";
  9. while(j < all.length()) {
  10. hel += all[j++];
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.9/py_compile.py", line 144, in compile
    code = loader.source_to_code(source_bytes, dfile or file,
  File "<frozen importlib._bootstrap_external>", line 918, in source_to_code
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "./prog.py", line 1
    string hel="";
           ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.9/py_compile.py", line 150, in compile
    raise py_exc
py_compile.PyCompileError:   File "./prog.py", line 1
    string hel="";
           ^
SyntaxError: invalid syntax

stdout
Standard output is empty