1viktors_ingredients = ["чушки", "домати", "моркови", "ябълки", "сол", "черен пипер", "кимион", "зехтин"]
2georgis_ingredients = ("чушки", "домати", "патладжан", "люти чушки", "олио",
3 "захар", "чубрица", "черен пипер", "врачанска ракия")
4
5shopping_list = viktors_ingredients + list(georgis_ingredients)
6shopping_list.reverse()
7
8unique_ingredients = set(shopping_list)
9
10ingredient_quantities = {}
11for i in unique_ingredients:
12 ingredient_quantities[i] = 5
13ingredient_quantities["skyr"] = 1
14
15number_of_ingredients_to_buy = len(ingredient_quantities)
........
----------------------------------------------------------------------
Ran 8 tests in 0.000s
OK