Dictionaries

Programming for ML with no experience — if you can type, you can begin

Open the contacts app on any phone and try this: find a friend's number by remembering that they are the 37th name saved. You cannot do it, because a contacts list is not organised by position at all. You find a number by typing a name, and the app hands back exactly the number that belongs to it, nothing about where that entry happens to sit.

🔒 This is a Pro lesson — the interactive figure, worked examples, quiz and practice open with Pro access.

▶ Dictionaries
← Looping Over a ListStrings & Lists Together →