Ad
  • Custom User Avatar

    This solution was written in Python 2, where the division operator had a different behaviour.

  • Custom User Avatar

    None should equal 'found the needle at position 3' means your code returns None, in general it means it returns nothing. You must return the result not print (you can print whatever you want for your convenience, but the tests don't take it into account). Just return your_result, it's the same in all katas.