• + 0 comments

    Reversing an array is built into Python!

    def reverseArray(a):
        return a[::-1]