PYTHON PROGRAMMING TUTORIAL: DICTIONARY

in #utopian-io7 years ago (edited)

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

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @redart, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

A very useful information. Thanks and good post

Thank you for the information

you are aweome @creon
this post is useful.

Hey @creon I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 68614.03
ETH 2441.44
USDT 1.00
SBD 2.36