input: Write a function to print the elements of a list in reverse order.
  assert print_reverse([1, 2, 3, 4, 5])==None  # Expected output in console: 5 4 3 2 1
  assert print_reverse(['a', 'b', 'c', 'd'])==None  # Expected output in console: d c b a
  assert print_reverse([10, 20, 30])==None  # Expected output in console: 30 20 10
output: def print_reverse(lst):
      for item in reversed(lst):
          print(item, end=' ')
      print()