This comment is hidden because it contains spoiler information about the solution
doesn't work for uppercase.
very awesome man!
Python with its False being equal to 0 is just the worst for this problem.
Not the best practice cuz any other type of n then int will return -1.
c++ basic test won't compile unless you include
using namespace std;
fuck u! 5 lines i fuck youar m
Thanks for wise advice
Why does 'None' have to be a string? Shouldn't it just be the None type? I don't think I have ever returned 'None' before, so this feels really wrong to me from the standpoint of how this Kata was written, but maybe I am just ignorant to some valid reason.
Didn't event think of catching errors on these fundamental tasks...I like it.
Not the best practice as any other errors that are not due to IndexErrors will still return -1. Its best to return -1 ONLY when index is out of range.
And also improved error messages ;)