Python Dictionary

Python Dictionary 8

A Python Dictionary is a collection which is unordered, changeable, and indexed. Unlike a string, the Dictionary is mutable. So, the Python dictionary can expand or sink. Python Dictionary Syntax We can declare a Python Dictionary by simply placing empty parenthesis, or using the dict(). The syntax for declaring a dictionary in Python myDict = { … Read more