Ad
  • Default User Avatar

    looks like you passed the kata. did you ever figure out why it previously only worked on your IDLE?

  • Custom User Avatar

    But when i run my code in IDLE everything is fine and i get the result i want

  • Default User Avatar

    if you get IndexError when coding result[0] it's because result is empty

  • Custom User Avatar

    (Python)
    I have passed 5 tests and 0 failed, but when I tried to return result[0] (result is a list where i have my final solution) an error occurred:
    IndexError: list index out of range
    I don't really understand what is my mistake..