Define a function reverse
which returns
a list with the order of the elements reversed from the original.
>>> a_list = [0, 1, 2, 3, 4, 5, 6, 7] >>> reverse(a_list) [7, 6, 5, 4, 3, 2, 1, 0] >>> another_list = ['a', 'b', 'c', 'd', 'e', 'f'] >>> reverse(another_list) ['f', 'e', 'd', 'c', 'b', 'a']Solution