Python: simple change request to Unit 6 Lesson 2 embedded program
To the Python content team:
In the Unit 6 Lesson 2 article "Dictionary iteration patterns", for the code snippet in the section "Iterate by key", we are asked "Why do we convert the names to lowercase?"
The answer to this question would be far more obvious if the word chosen for the call to `find_similar_species` on line 13 appeared in multiple cases in the dataset. I couldn't even find a logical word to use that _does_ appear in multiple cases in `sightings`.
One option would be to add the species "Reindeer" to the dataset `sightings` after line 4 of `wildlife.py`:
`"Reindeer": 17,`
I strongly encourage this change or something similar. Thanks.
~ Janice, 2026 August 9
Por favor, entrar para comentar.