Here's some student code, shared w/ permission.
What feedback would you give?
What do you think they're confused about? What concepts do you think they understand?
I suspect they don't understand the fundamental difference in affordances between dictionaries (access by key) and arrays (access by index), since they are matching string elements to dictionary entries by linear iteration.