Ad
  • Custom User Avatar
  • Custom User Avatar

    I don't know what to do with this error. can you help me? What is the reason?

    Traceback (most recent call last):
    File "main.py", line 26, in
    doTests()
    File "main.py", line 18, in doTests
    a,b = actual[:-1],actual[1:]
    TypeError: 'bool' object is not subscriptable

    Code work pretty good, I passed all tests but because of error i can't pass this kata
    Passed: 18 Failed: 0 Exit Code: 1