+ 5

Why we use dictionaries in Python

4th Mar 2018, 7:15 PM
Kala Nandini
Kala Nandini - avatar
4 Respostas
+ 3
It's just like a real dictionary.. i use it when i have many variables holding data, for example if you were to write a state and capital quiz, Dictionary is used, because to every state(key), there is a capital(value) Checkout my code on reciprocal letters to understand better https://code.sololearn.com/ca68R2wQIsUf/?ref=app
4th Mar 2018, 7:26 PM
Onasanya Tunde
Onasanya Tunde - avatar
+ 2
to store things in key and value pairs just like your real dictionary
4th Mar 2018, 7:20 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
With help dictionaries you can make a little data base.
18th Mar 2018, 9:33 PM
trigun
trigun - avatar