Python Programming Help- Strings/Parameter : I am very new to python, and I am trying to create a simple function that allows me to return a string reversed. However, when I called the function, the error TypeError: reverseString() takes 1 positional argument but 2 were given
comes up. Im more familiar with java, and was wondering what the problem was/if passing a string parameter was the same in python


    def reverseString(string):
        return string[:,:,-1]
