input: Write a python function to reverse a list.
  assert reverse_list([1, 2, 3, 4, 5]) == [5, 4, 3, 2, 1]
  assert reverse_list(['a', 'b', 'c', 'd']) == ['d', 'c', 'b', 'a']
  assert reverse_list([True, False, True]) == [True, False, True]
  assert reverse_list([]) == []
output: def reverse_list(lst):
      return lst[::-1]