input: Write a function to take a list as input and return the reversed list. The function should work for both lists with and without elements.
  
  assert reverse_list([1, 2, 3, 4, 5])==[5, 4, 3, 2, 1]
  assert reverse_list([])==[]
  assert reverse_list(['a', 'b', 'c'])==['c', 'b', 'a']
output: def reverse_list(lst):
      return lst[::-1]