Skip to content

Tag: dictionary

Append dictionaries created using for loop in python

I have create dictionary d inside the function ic_strategy_2. ic_strategy_2 is iterated for each elements in list using for loop, which will create 3 dictionary. When below code is tested, only single dictionary is getting printed though I append it in for loop. I want to append multiple dictionary created fr…