I have a question regards the following code I wrote:
texts = 
for i in text:
texts.append(text[len(text) - (i - 1)])
Python obviously gave me the invalid syntax because i makes no sense. What I’m wondering, is there some simple syntax to get the i’th index when iterating over i?
I solved it another way but I’m just curious