File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 403403 " - `.keys()` gives just keys\n " ,
404404 " - `.values()` gives just values\n " ,
405405 " \n " ,
406- " ### 4. Why Dictionaries are Useful for Chemistry\n " ,
407- " - **Natural associations:** Element names → properties\n " ,
408- " - **Fast lookup:** Finding iron's electron count is instant, regardless of dictionary size\n " ,
409- " - **Extensible:** Easy to add more elements or properties\n " ,
410- " - **Readable:** `transition_metals['iron']` is clearer than `transition_metals[5]`\n " ,
411- " \n " ,
412- " ### 5. Nested Dictionaries\n " ,
406+ " ### 4. Nested Dictionaries\n " ,
413407 " - Values can be dictionaries themselves\n " ,
414408 " - Access using multiple brackets: `dict[key1][key2]`\n " ,
415- " - Useful for storing multiple properties per element"
409+ " - Useful, e.g., for storing multiple properties per element"
416410 ]
417411 },
418412 {
You can’t perform that action at this time.
0 commit comments