Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 357 Bytes

dictionaries.md

File metadata and controls

13 lines (11 loc) · 357 Bytes

Dictionnaires are [[data type]] that essentially constitues a list of key value pair. The keys are [[string]]s identifier and the value can be of any type (even a dictionary) Example of dictionary in [[Python]] :

students_age = {
			"Loïc" : 24,
			"Alexia" : 25,
			"Youri" : 24
}

print(students_age["Loïc"]) # = 24

#datatype #python