Lesson 2 of Part(1), I cannot figure why this piece of code won't work

if not path.exists():
path.mkdir()
for o in bear_types:
dest = (path/o)
dest.mkdir(exist_ok=True)
results = search_images_ddg(f’{o} bear’)
download_images(dest, urls=results)

Hi Niramay

What value is the variable path?

Regards Conwyn

bear_types = ‘grizzly’, ‘black’, ‘teddy’
path = Path(‘bears’)

What is the error that you are getting? @mintpi