Oracle Interview Question

Write a code to reverse a list using python