Hello, I have a bit of trouble understanding how dictionaries actually work. Below is my resume of understanding but I have some questions regarding how “For each” and new dictionary is settled.
- citylist - is not clear what is the purpose
- how weight is computed?
Thank you in advance!