[66, 52, 10, 43, 45, 2, 73, 65, 12, 39] [2, 52, 10, 43, 45, 66, 73, 65, 12, 39] [2, 10, 52, 43, 45, 66, 73, 65, 12, 39] [2, 10, 12, 43, 45, 66, 73, 65, 52, 39] [2, 10, 12, 39, 45, 66, 73, 65, 52, 43] [2, 10, 12, 39, 43, 66, 73, 65, 52, 45] [2, 10, 12, 39, 43, 45, 73, 65, 52, 66] [2, 10, 12, 39, 43, 45, 52, 65, 73, 66] [2, 10, 12, 39, 43, 45, 52, 65, 73, 66] [2, 10, 12, 39, 43, 45, 52, 65, 66, 73
def reverse(a): return a[::-1] reverse([1, 2, 3, 4, 5]) A: Python 3.6+ You can use the built-in reversed() function: >>> reversed([1, 2, 3, 4, 5]) [5, 4, 3, 2, 1] A: You can use the built-in reversed() function: >>> reversed(