input: Write a python function to print all elements in a list.
  assert print_elements([1, 2, 3, 4, 5])==None  # Output: 1 2 3 4 5
  assert print_elements(['a', 'b', 'c', 'd'])==None  # Output: a b c d
output: def print_elements(lst):
      for element in lst:
          print(element, end=' ')
      print()