input: Write a function to reverse a list. The function should take a list as input and return the reversed list.
  def reverse_list(input_list):
      return input_list[::-1]
  assert reverse_list([1,2,3,4,5])==[5,4,3,2,1]
  assert reverse_list(['a','b','c'])==['c','b','a']
  assert reverse_list([])==[]
  assert reverse_list([7,8,9,10])==[10,9,8,7]
  assert reverse_list([True,False])==[False,True]
output: def reverse_list(input_list):
      return input_list[::-1]