About Python dictionaries | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

About Python dictionaries

I like to know more about dictionaries. Sololearn details aren't enough.

17th Nov 2019, 4:14 PM
Asiri Sirithunga
Asiri Sirithunga - avatar
8 Answers
+ 9
Pythons docs will definitely help you 😉 Link: https://docs.python.org/3/tutorial/datastructures.html#dictionaries
17th Nov 2019, 4:24 PM
OR!ON 🛡️
OR!ON 🛡️ - avatar
+ 7
Also take a look here: https://docs.python.org/3/library/stdtypes.html#mapping-types-dict
17th Nov 2019, 4:28 PM
HonFu - avatar
+ 2
I would say a dictionary in Python, or programming in general, is extremely similar to a dictionary in real life. Basically, it's a collection of keys, or words, with values, or definitions. You can access each key's value, making dictionaries extremely useful. A dictionary is a data type, and it's mutable, meaning its keys and values can be changed.
17th Nov 2019, 7:22 PM
Jianmin Chen
Jianmin Chen - avatar
+ 1
What's called python's off documentation. Sorry I don't know about that?
17th Nov 2019, 4:22 PM
Asiri Sirithunga
Asiri Sirithunga - avatar
Ну наконец-то, я думал что это приложение популярно только в англоязычных странах .
18th Nov 2019, 2:06 PM
i think this will help https://docs.python.org/3/tutorial/datastructures.html#dictionaries
1st Aug 2020, 3:05 AM
Sameer Challa
Sameer Challa - avatar
I'm on the lesson about Dict functions and I cannot understand this question: myDict = {1:"one", 2: "two", 3: "three"} From the lesson: print(myDict[myDict[2]]) I thought the answer would be "two" but I got the answer wrong .. why ?
6th Sep 2020, 8:21 PM
Michael King
Michael King - avatar
youtube gives best elaboration though only some youtubers are worth watching
7th Sep 2020, 2:40 PM
Vansh Panwar
Vansh Panwar - avatar