fork download
  1. s=input()
  2. l=[]
  3. for i in range(0,len(s)):
  4. m=int(int(s)%10)
  5. s=int(int(s)/10)
  6. l.append(m)
  7. w=len(l)
  8. print(w,int(l[0])-1,l[1],l[2],l[3],l[4],l[5])
  9. n=2
  10. while(n!=0):
  11. for k in range(0,w):
  12. if(int(l[k])==0):
  13. l.pop(l[k])
  14. break
  15. n=n-1
  16. print(l)
  17. # your code goes here
Compilation error #stdin compilation error #stdout 0.02s 27696KB
stdin
0038483
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.5/py_compile.py", line 125, in compile
    _optimize=optimize)
  File "<frozen importlib._bootstrap_external>", line 735, in source_to_code
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "./prog.py", line 15
    n=n-1
        ^
IndentationError: unindent does not match any outer indentation level

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.5/py_compile.py", line 129, in compile
    raise py_exc
py_compile.PyCompileError: Sorry: IndentationError: unindent does not match any outer indentation level (prog.py, line 15)
stdout
Standard output is empty