> What I meant was that you would have a dict of dicts, where the key was the 
> country:

Thanks MRAB I could not see that solution. That save me a lot of lines of code.
Certainly my previous solution also manage to do that but yours is more 
clean-code wise.
This email is confidential and may be subject to privilege. If you are not the 
intended recipient, please do not copy or disclose its content but contact the 
sender immediately upon receipt.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to