you don’t need to fully identify the allergens in order to have part a answer. for example putting sum(not any(i in v for v in d.values()) for i in all_ingredients) on my code at line 20 would get the part A answer without needing to solve for B.
you don’t need to fully identify the allergens in order to have part a answer. for example putting sum(not any(i in v for v in d.values()) for i in all_ingredients) on my code at line 20 would get the part A answer without needing to solve for B.