input: Write a python function to iterate over a list and print each element.
  assert iterate_and_print([1, 2, 3, 4, 5]) is None
  assert iterate_and_print(['a', 'b', 'c', 'd']) is None
  assert iterate_and_print([10, 20, 30, 40, 50]) is None
output: def iterate_and_print(lst):
      for element in lst:
          print(element)