code: def delete_directories(paths):
      
      for path in paths:
          if os.path.exists(path):
              shutil.rmtree(path)
docs: Delete directories.
  
          If the directory is exist, It will delete it including files.
  
          :type paths: Array of string or string
          :param paths: the location of directory