• I have a problem with my code(python),When my code gets a double character, my code will give the same index as the previous double character

  • Hello, I think it would be convenient to add an example case with some repeated character. Initially, I thought that [a, b, c] = [1: a, 2: b, 3: c] meant that 'a' would always be worth 1, that 'b' would always be worth 2, etc... I would add an 'a' at the end so that 'a' is worth 4. And so it is clear that each letter has a different value. I'm maybe stupid and in the description, it is understood that each letter has a different number, but well.