---
title: "Discussion on \"Learning About Python Dictionaries and Musical Markov Chains\" | Hashnode"
description: "Discussion on \"Learning About Python Dictionaries and Musical Markov Chains\". First, some basics about Python dictionaries.\nPython dictionaries map a key to a value, and when you have the key, it's fast to look up the value.\nThe syntax to create dictionaries looks like this\nd = {'A': 1, 'B': 2, 'C': 5}\n\nThen, you can look up i..."
url: "https://hashnode.com/posts/learning-about-python-dictionaries-and-musical-markov-chains/63fab395aacc4adc52fc369f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Learning About Python Dictionaries and Musical Markov Chains](https://musicalpython.hashnode.dev/learning-about-python-dictionaries-and-musical-markov-chains?utm_source=hashnode&utm_medium=feed)

First, some basics about Python dictionaries. Python dictionaries map a key to a value, and when you have the key, it's fast to look up the value. The syntax to create dictionaries looks like this d = {'A': 1, 'B': 2, 'C': 5} Then, you can look up i...

Feb 26, 2023 · 2 min read · musicalpython.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#music](https://hashnode.com/tag/music)
-   [#python-dictionaries](https://hashnode.com/tag/python-dictionaries)

## Written by

[Musical Python](https://hashnode.com/@musicalpython)

@musicalpython

  
[View profile](https://hashnode.com/@musicalpython)

Learn Python by making music!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
