1# Won't write any comments because everything is self-explanatory
2
3viktors_ingredients = ['чушки',
4 'домати',
5 'моркови',
6 'ябълки',
7 'сол',
8 'черен пипер',
9 'кимион',
10 'зехтин']
11
12georgis_ingredients = ('чушки',
13 'домати',
14 'патладжан',
15 'люти чушки',
16 'олио', 'захар',
17 'чубрица',
18 'черен пипер',
19 'врачанска ракия')
20
21shopping_list = viktors_ingredients + list(georgis_ingredients)
22
23shopping_list.reverse()
24
25unique_ingredients = set(shopping_list)
26
27ingredient_quantities = dict.fromkeys(unique_ingredients, 5)
28ingredient_quantities['skyr'] = 1
29
30number_of_ingredients_to_buy = len(ingredient_quantities)
........
----------------------------------------------------------------------
Ran 8 tests in 0.000s
OK