Write function that reverses a list code example Example: python how to invert an array revArray = array[::-1]