News

History History 288 lines (196 loc) · 10.5 KB master pythonguides-blog-zh / docs / python-turtle-nested-loop.md Top File metadata and controls Preview Code Blame 288 ...
Another way to think about the first line of the for loop is that a new variable `s` is initialized to the value of the first list element. This variable increments to the next element in the next ...
That loop is creating a load of empty dictionaries, then your second loop is overwriting those dictionaries with new ones that have your desired data already contained within.