new_contents: #! python3
  # Import modules and write comments to describe this program.
  
  for foldername, subfolders, filenames in os.walk('C:\\'):
      numPhotoFiles = 0
      numNonPhotoFiles = 0
      for filename in filenames:
          # Check if file extension isn't .png or .jpg.
          if TODO:
              numNonPhotoFiles += 1
              continue    # skip to next filename
  
          # Open image file using Pillow.
  
          # Check if width & height are larger than 500.
          if TODO:
              # Image is large enough to be considered a photo.
              numPhotoFiles += 1
          else:
              # Image is too small to be a photo.
              numNonPhotoFiles += 1
  
      # If more than half of files were photos,
      # print the absolute path of the folder.
      if TODO:
          print(TODO)
  
subject: Initialize P2_findPhotoFolders