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

+3

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

+9

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

+7

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

+1

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

+1

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.

0

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

0

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

0

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 ?

0

youtube gives best elaboration though only some youtubers are worth watching