I found this previously answered here, Best way to loop over a python string backwards
I need to use OP's original idea, but I don't quite understand the meaning of the stop argument in the range function. What does 0-1 mean? From 0-1? Wouldn't that be the step?