PYTHON PROGRAMMING TUTORIAL: DICTIONARY

What Will I Learn?

  • You will learn about the python dictionary
  • You will learn about keys and values

Requirements

  • Basic Knowledge of python
  • Pycharm IDE

Difficulty

  • Intermediate

Description

On the normal sense Dictionary is a book or electrical resource where meanings of words are derived,often providing more information about pronunciation, origin, and usage.

A Dictionary in Python is quite different.Python dictionary can be defined as the mapping of unique keys to values. it is an unordered collection of items or elements. Python dictionary is in pair of a key and value. as in English where a word has a meaning but in python a word here is represented as the key while the meaning of the word is represented as the value. The {} curly brackets is used to construct the dictionary, while the [] square brackets is used to index it.

Keys are quoted as well as values.

Dictionaries are optimized to retrieve values when the key is known.

Video Tutorial

Curriculum

Here's the list of some of my previous contibutions on Python Programming

The World is Yours



Posted on Utopian.io - Rewarding Open Source Contributors

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center