About Python dictionaries | SoloLearn: Learn to code for FREE!


About Python dictionaries

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

11/17/2019 4:14:41 PM

Asiri Sirithunga

10 Answers

New Answer


Pythons docs will definitely help you 😉 Link: https://docs.python.org/3/tutorial/datastructures.html#dictionaries


Also take a look here: https://docs.python.org/3/library/stdtypes.html#mapping-types-dict


What's called python's off documentation. Sorry I don't know about that?


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.


Ну наконец-то, я думал что это приложение популярно только в англоязычных странах .


i think this will help https://docs.python.org/3/tutorial/datastructures.html#dictionaries


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 ?


youtube gives best elaboration though only some youtubers are worth watching