Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Dictionary, key, entry » ?

Aussi appelé : dictionary · entry · dictionary key

Definition 26.1 Primary & Middle School Computer Science · Chapitre 26 — Dictionaries

A dictionary is a value that holds pairs: each pair, an entry, links a key to a value. The keys are all different; d[key] gives the value linked to key. A dictionary is written between braces, with a colon between each key and its value: {"Sami": 12, "Noor": 13}.

A dictionary as two columns: each key leads to its value.
A dictionary as two columns: each key leads to its value.
Finding Grandma: a walk through a list against one step in a dictionary. How a dictionary goes straight to its key is explained in the university books.
Finding Grandma: a walk through a list against one step in a dictionary. How a dictionary goes straight to its key is explained in the university books.
Lire dans le chapitre →