This might be simple, but I'm stuck. I have globals()
that creates dictionaries based on zipping lists (that will differ in sizes, thus differ in the number of the dictionaries that get created). The new dictionaries that get created look like the below:
dict0 = {foo:bar}
dict1 = {more_foo:more_bar}
How do I call these new dictionaries in a for
loop?
I want my script to do the below:
for i in (dict0, dict1):
The only issue is that the number of dictx
(dictionaries) will differ based on the inputs from the script.