@@ -14,14 +14,15 @@ def clean_ingredients(dish_name, dish_ingredients):
1414 """Remove duplicates from `dish_ingredients`.
1515
1616 Parameters:
17- dish_name (str): The name of the dish.
17+ dish_name (str): The name of the dish.
1818 dish_ingredients (list): The ingredients for the dish.
1919
2020 Returns:
21- tuple: Containing (dish_name , ingredient set).
21+ tuple: Containing (dish name , ingredient set).
2222
2323 This function should return a `tuple` with the name of the dish as the first item,
2424 followed by the de-duped `set` of ingredients as the second item.
25+
2526 """
2627
2728 pass
@@ -35,10 +36,11 @@ def check_drinks(drink_name, drink_ingredients):
3536 drink_ingredients (list): Ingredients in the drink.
3637
3738 Returns:
38- str: drink_name appended with "Mocktail" or "Cocktail".
39+ str: ` drink_name` appended with "Mocktail" or "Cocktail".
3940
4041 The function should return the name of the drink followed by "Mocktail" (non-alcoholic) and drink
4142 name followed by "Cocktail" (includes alcohol).
43+
4244 """
4345
4446 pass
@@ -52,7 +54,7 @@ def categorize_dish(dish_name, dish_ingredients):
5254 dish_ingredients (set): The ingredients for the dish.
5355
5456 Returns:
55- str: TThe dish name appended with ": <CATEGORY>".
57+ str: The dish name appended with ": <CATEGORY>".
5658
5759 This function should return a string with the `dish name: <CATEGORY>` (which meal category the dish belongs to).
5860 `<CATEGORY>` can be any one of (VEGAN, VEGETARIAN, PALEO, KETO, or OMNIVORE).
@@ -112,11 +114,11 @@ def separate_appetizers(dishes, appetizers):
112114
113115
114116def singleton_ingredients (dishes , intersection ):
115- """Determine which `dishes` have a singleton ingredient (an ingredient that only appears once across dishes).
117+ """Find singleton ingredients within the group of dishes (ingredients that only appear once across dishes).
116118
117119 Parameters:
118120 dishes (list): Group of ingredient sets.
119- intersection (constant ): Can be one of `<CATEGORY>_INTERSECTIONS` constants imported from `sets_categories_data.py`.
121+ intersection (set ): Can be one of `<CATEGORY>_INTERSECTIONS` constants imported from `sets_categories_data.py`.
120122
121123 Returns:
122124 set: Containing singleton ingredients.
0 commit comments