JPMorganChase Interview Question

Reverse an array in place with Python