+ 1
Code Coach Word Rank challenge
I'm trying to solve the word rank problem in Code Coach where you try to find the alphabetical rank of a string among all the permutations of its letters. I know that there's the itertools library and it does work for all the cases when I do it with that but I wanted to challenge myself so I tried to implement the permutation calculation and it's working for all except for one of the locked test cases so I can't see what kind of possible entry that I'm missing. I attached the code that works for everything I try but is there a particular case that I'm missing? https://code.sololearn.com/cU12R5Q8un7G/?ref=app
1 ответ
0
I hope I can help you but this code couch is for pro members 😭😭😭