'in' is wrong in this case, you only want to check the last character. And yes, endswith should be faster, it only checks the end of the string ('in' will check the whole string).
Similar to cmgerber's suggestion, an option in "Your Next Challenge..." to only suggest katas I didn't complete would be great.
Loading collection data...
'in' is wrong in this case, you only want to check the last character. And yes, endswith should be faster, it only checks the end of the string ('in' will check the whole string).
Similar to cmgerber's suggestion, an option in "Your Next Challenge..." to only suggest katas I didn't complete would be great.