#23 Python Dictionary | Python Tutorial for Beginners

preview_player
Показать описание
welcome to Bytes
Bytes : Easy way to learn python in Tamil

Bytes : Tamil Python Video Tutorial
What is dictionary in Python?
Python dictionary is an unordered collection of items. While other compound data types have only value as an element, a dictionary has a key: value pair.

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

How to create a dictionary?
Creating a dictionary is as simple as placing items inside curly braces {} separated by comma.

An item has a key and the corresponding value expressed as a pair, key: value.

While values can be of any data type and can repeat, keys must be of immutable type (string, number or tuple with immutable elements) and must be unique.
Рекомендации по теме
Комментарии
Автор

bro...neenga enna padichi irukinga???vera level la explain..panrenga!!!!

kalakalcomedy
welcome to shbcf.ru