Python String Index Out Of Range Different In Length Error Stack

Python String Index Out Of Range Different In Length Error Stack