Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This looks nice, but by defining 'string.lower()' within the for loop instead of a variable outside of it requires python to perform the lower function during each iteration of the for loop instead of just once if written outside the for loop. Which imo makes this a lesser candidate for 'best practice' than other solutions.
exactly the same as mine !
perfect
This comment is hidden because it contains spoiler information about the solution
Test case wise, before submitting I was having issues with the random test cases involving E and 1 (specifically them switching places somehow) but I was unable to reproduce it in standard test cases. Running it trying to figure out what was wrong eventually passed all cases and led me to submit it. Maybe it's related to E being the key that returns '1'?