Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

Python Dictionaries –

dictionary is a collection which is unordered, changeable and indexed. In Python dictionaries are written with curly brackets, and they have keys and values.

Let us see how to define access and display dictionary.

python dictionary


CarDict = {

“brand”: “Ford”,

“model”: “Mustang”,

“year”: 1964


Here, brand, model and year are keys and ford, Mustang and 1964 are their related values…

To access or get particular data from dictionary named CarDict

x = CarDict [“model”]


We can change a specific data by referring to its key name:


CarDict [“year”]=1965

To learn more in detail about Dictionary in python

You can join TCCI in Bopal and Satellite in Ahmedabad.

Call us @ 9825618292

Visit us @


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s