Skip to content
Advertisement

How to append a multiple dictionaries to a list from a loop, python?

How can one append dictionaries that each looping generates to a list so at the end my function returns a list of n-dictionaries? Without any fancy libraries, just plain python?

JavaScript

the function returns a instances of dictionaries but never an appended list of all dictionaries that were generated. Can somebody help with this?

Advertisement

Answer

JavaScript

maybe it works.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement