input: Write a function to read a list of integers and print its elements in reversed order. The function should take a list of integers as input and return the reversed list.
  
  def reversed_list(ints):
      ints.reverse()
      return ints
  
  assert reversed_list([1, 3, 6, 8, 10])==[10, 8, 6, 3, 1]
  assert reversed_list([-1, 0, 1, 2, 3])==[3, 2, 1, 0, -1]
  assert reversed_list([7])==[7]
  assert reversed_list([])==[]
output: def reversed_list(ints):
      ints.reverse()
      return ints