input: Write a function to read a list of integers and print its elements in reversed order.
  
  assert reverse_and_print([1, 3, 6, 8, 10]) == [10, 8, 6, 3, 1]
  assert reverse_and_print([5, 9, 2, 7]) == [7, 2, 9, 5]
  assert reverse_and_print([0]) == [0]
  assert reverse_and_print([]) == []
output: def reverse_and_print(lst):
      for num in reversed(lst):
          print(num)