fork download
  1. (sr,kg,reg)=map(int,input().split())
  2. count=0
  3. i=800
  4. if sr==kg:
  5. print(1)
  6. else:
  7. if reg>=sr:
  8. print('NO')
  9. else:
  10. while i!=531:
  11. kg=kg-sr
  12. count=count+1
  13. if kg<=0:
  14. break
  15. else:
  16. kg=kg+reg
  17. print(count)
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
3 6 2
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.4/py_compile.py", line 124, in compile
    _optimize=optimize)
  File "<frozen importlib._bootstrap>", line 1532, in source_to_code
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "./prog.py", line 12
    count=count+1
                ^
TabError: inconsistent use of tabs and spaces in indentation

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.4/py_compile.py", line 128, in compile
    raise py_exc
py_compile.PyCompileError: Sorry: TabError: inconsistent use of tabs and spaces in indentation (prog.py, line 12)
stdout
Standard output is empty