Not sure if the error was reported already, but the variable just_berries
which is used in the example code doesn’t seem to be defined anywhere in the exercise.
I would also replace all the occurrences of a double hyphen (--
) with an en dash (–
) for a more clean and formal appearance. Example sentence:
And there’s a few more sentences along the text with double hyphen, including task 1 down in the instructions section.
There also seems to be a two copies of a dish in the variable example_dishes
:
{'mango powder', 'oil', 'salt', 'cardamom powder', 'fresh red chili', 'sugar', 'fresh ginger', 'turmeric', 'red chili powder', 'curry leaves', 'garlic paste', 'mustard seeds', 'vinegar', 'mashed potatoes', 'garam masala', 'mangoes', 'nigella seeds', 'clove powder', 'serrano chili', 'cumin powder', 'onion', 'water', 'chickpea flour', 'coriander seeds', 'turmeric powder', 'hing', 'coriander powder', 'cinnamon powder', 'cilantro', 'garlic'}
Task 3 (Categorize Dishes) instructions state that the function categorize_dish
expects a string and a set as its arguments, but the function description contradicts that.