Is that cheating ? :D


def reverse(text):
        return text[-1::-1]  # It worked though


lol of course it says right in the instructions


I just thought it's not so , because the system didn't forbid me doing it . :smiley:


normally it would be a good idea but I think the purpose of the exercise is to "manually" reverse the word, so that we can understand what exactly our code is doing, instead of using a method that does the thinking for us.


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