I know this code is missing something, but I just cannot seem t figure out what it is I am missing.

Replace this line with your code. 
ef reverse(text):
    new_word = ""
    for i in len(text(-1)):
        new_word = new_word + text(-i)
        return new_word


this line:

for i in len(text(-1)):

you made text into a function call. Why?

and if you want to use len(), you have to use range() as well


3 posts were split to a new topic: [solved] reverse


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.