---
title: "Python Dictionary"  
description: "Python Dictionary"  
author: "Anonymous User"  
published: 2018-06-18  
updated: 2018-06-19  
canonical: https://www.mindstick.com/forum/34524/python-dictionary  
category: "python"  
tags: ["dictionary", "code first", "python"]  
reading_time: 1 minute  

---

# Python Dictionary

What is [dictionary](https://www.mindstick.com/articles/1500/hashtable-and-dictionary-in-c-sharp) in [Python](https://www.mindstick.com/articles/75378/simple-yet-useful-tips-when-using-python)?

\

## Replies

### Reply by Prakash nidhi Verma

Dictionary in Python :

The built-in datatypes in Python is called dictionary. It defines one-to-one relationship between keys and values. Dictionaries contain pair of keys and their corresponding values. Dictionaries are indexed by keys.A dictionary key have numbers and strings in python like Values.

Example:

```
dict={'Country':'India','Capital':'Delhi','PM':'Modi'} print dict[Country]
India
print dict[Capital]
Delhi
print dict[PM]
Modi
```

\


---

Original Source: https://www.mindstick.com/forum/34524/python-dictionary

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
