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 reverse the order of its elements. If the list is empty, it should print an empty list.
  
  
  def reverse_list(list_of_ints):
      list_of_ints.reverse()
      print(list_of_ints)
  
  # Test cases
  list_of_ints = [1, 3, 6, 8, 10]
  reverse_list(list_of_ints)  # Expected output: [10, 8, 6, 3, 1]
  
  list_of_ints = [5, 4, 3, 2, 1]
  reverse_list(list_of_ints)  # Expected output: [1, 2, 3, 4, 5]
  
  list_of_ints = []
  reverse_list(list_of_ints)  # Expected output: []
  
  list_of_ints = [7]
  reverse_list(list_of_ints)  # Expected output: [7]
  
output: def reverse_list(list_of_ints):
      list_of_ints.reverse()
      print(list_of_ints)