input: Write a function to reverse a list in Python.
  
  def reverse_list(list): 
      return list[::-1]
  
  assert reverse_list([1, 2, 3, 4, 5]) == [5, 4, 3, 2, 1]
  assert reverse_list([10, 20, 30, 40, 50]) == [50, 40, 30, 20, 10]
  assert reverse_list([]) == []
output: def reverse_list(list): 
      return list[::-1]