I managed to get the function working but I am wondering how to make it better
Right now I have one list to store my words and then another to reverse them.. I saw people using only one list for that excercise. how can I reverse all the words from a list without creating another list?
any help is apperciated
def reverse(text): original =  final =  for word in text: original.append(word) for i in range(len(original),0 , -1): final.append(original[i -1]) return "".join(final)