<jupyter_start><jupyter_text>**Defining a Dictionary**<jupyter_code>dy = { "Country": "India",
         "Currency": "INR",
         "Continent": "Asia",
            "Language": "Multiple"}
dy<jupyter_output><empty_output><jupyter_text>**Access a dictionary** (using the key and **not** the value)<jupyter_code>dy["Country"]
dy["India"]<jupyter_output><empty_output><jupyter_text>Understood the error above? We need to use the `key` to access a specific value**Adding data to a dictionary**<jupyter_code>dy["Capital"] = "Delhi"
dy<jupyter_output><empty_output><jupyter_text>We can **Overwrite** dictionary values too<jupyter_code>dy["Currency"] = "Indian Rupee"
dy<jupyter_output><empty_output><jupyter_text>**Deleting data in dictionary**<jupyter_code>del dy["Language"]
dy<jupyter_output><empty_output><jupyter_text>So the Currency key was deleted. Now let us delete the whole dictionary<jupyter_code>del dy
dy<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14027630180658873, 'fraction_numerical': 0.0, 'mean_word_length': 8.057692307692308, 'pattern_counts': {'":': 4, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '561911', 'license': 'MIT', 'n_tokens_mistral': 338, 'n_tokens_neox': 332, 'n_words': 69, 'path': 'learning101/working-with-dictionaries.ipynb', 'repo_name': 'bhanuchandrika/pylearn', 'size': '941'}