Returns the 0-based position of the last item whose value is equal to x on this stack.We deviate from the typical 1-based position used by Stack classes (i.e. Java) because most python users (and developers in general) are accustomed to 0-based indexing.