input: Write a function to list the contents of a directory using Python. The function should take the path of the directory as input, list all the contents in the directory, and print each item.
  assert list_directory_contents(".")=="stdout check"
output: def list_directory_contents(path):
      import os
      for item in os.listdir(path):
          print(item)