I understand that I’m overthinking it but I’ve browsed the forums hoping that seeing others solutions to the problem would help clarify how someone would get this solution. I don’t understand codecademy’s answer to it or anyone else either.
def reverse(text): word = "" l = len(text) - 1 while l >= 0: word = word + text[l] l -= 1 return word
It may be my understanding of indexes and/or strings as well as the “L -= 1” that is throwing me off but I’m going to have a career in coding and I’m going through any trial I can in order to get there. I’m taking classes but my teachers are learning with me and I want to understand and move on with this problem so I can get to my never-ending goal of learning and helping others through coding.