input: Write a function to reverse a list and print each element.
  assert reverse_print(["A", "B", "C", "D"])==["D", "C", "B", "A"]
  assert reverse_print([1, 2, 3, 4])==[4, 3, 2, 1]
  assert reverse_print(["apple", "banana", "cherry"])==["cherry", "banana", "apple"]
output: def reverse_print(lst):
      reversed_list = lst[::-1]
      for item in reversed_list:
          print(item)
      return reversed_list