input: Write a function to read a list of integers and print its elements in reversed order. The function should reverse the input list and then print it.
  def reverse_list_and_print(list_of_ints):
      list_of_ints.reverse()
      print(list_of_ints)
  assert reverse_list_and_print([1, 3, 6, 8, 10])==None
  assert reverse_list_and_print([10, 20, 30, 40])==None
  assert reverse_list_and_print([7, 5, 3, 1])==None
  assert reverse_list_and_print([])==None
output: def reverse_list_and_print(list_of_ints):
      list_of_ints.reverse()
      print(list_of_ints)