input: Write a python function to print all elements of a list.
  assert function([1, 2, 3, 4, 5]) == None
  assert function(['a', 'b', 'c']) == None
  assert function([True, False, True]) == None
output: def function(lst):
      for elem in lst:
          print(elem)