Yes, it's mostly about alignment, I can use spaces with a str(idx).rjust(index_padding). 

After looking at both solutions, I'm not sure what I find more or less readable of the two, but I can push up 'space pad', so you'll see the result with that solution.