14
Belethchamien
3 12 25
917/ 945
Last seen 4 months ago
Member for 5 years, 11 months, 17 days
Difficulty Normal
Best reviews / Newest reviews
Simple-slickLash 2
I like this code, clear and pretty. Adding some explanation of what you are doing would make it even better. More
Second index-borosdani 1 1
The code is pretty enough that I can figure out why you did things, but to make the code clearer and more educational you could add some comments that explain why you do the things you do. More
First-ruotiukko 1 1
This was actually the first time in my life that I saw an import inside a function, so I assumed you had some reason to do it, so I googled on possible benefits, but it seems none of them apply for this exercise. See the Stack Overflow-post about it here: https://stackoverflow.com/questions/128478/ More
First-CarltonG
This is really pretty code, and your explanation of your code is very clear. You've learned me something. More
First-rutapoczta
Not the shortest code possible, but nice and clear. One small note is that you don't need isalpha(), because isupper() already ignores non-alpabet characters. I've tested it and your code works fine without it. More
First-blessyjoyk
Clear code needs documentation that explains what you are doing and why. Also, I personally think that list_index is a rather confusing name for a list. More
Using str.find() to get the matched index -borosdani
This solution is a lot clearer, thank you. More