You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to solve exercise number 3, but I can't iterate through the file: countries_data.py I got this error message: non iterable value is used in an iterating context any ideas that could help me to solve this issue? and also How can I iterate a list of dictionaries like the one in countries_data.py. Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
On Day_10_loops, there is an exercise where you work with a file called countries_data.py. It's actually a lists of dictionaries.
What I did was copy the full list and added a name something like this: countries = [{Dic1}, {Dic2}, {Dic3},...]
After this I was able to iterate the content of list countries.
I hope this can help you
I'm trying to solve exercise number 3, but I can't iterate through the file:
countries_data.py
I got this error message:non iterable value is used in an iterating context
any ideas that could help me to solve this issue? and also How can I iterate a list of dictionaries like the one incountries_data.py
. Thanks in advance!The text was updated successfully, but these errors were encountered: