input: Write a function to reverse the elements of a given list of integers and print the reversed list. The function should handle lists of any length, including empty lists.
  assert reverse_list([1, 3, 6, 8, 10])==[10, 8, 6, 3, 1]
  assert reverse_list([])==[]
  assert reverse_list([5])==[5]
  assert reverse_list([4, 7])==[7, 4]
  assert reverse_list([2, 9, 3])==[3, 9, 2]
output: def reverse_list(lst):
      return lst[::-1]