SyntaxFix
Write A Post
Hire A Developer
Questions
Depending on what you want to accomplish within the loop, iterate over one of these instead:
countries.keySet()
countries.entrySet()
countries.values()