---
# System prepended metadata

title: dictionary example 2

---

# dictionary example 2

```python=
dic = {
    "type": "book",
    "sales_data": [
        {
            "name": "book A",
            "publisher": "Basement Culture",
            "language": "English",
            "copy_sold": 45
        },
        {
            "name": "book B",
            "publisher": "Shingekisha",
            "language": "Chinese",
            "copy_sold": 200
        },
        {
            "name": "book C",
            "publisher": "Basement Culture",
            "language": "English",
            "copy_sold": 120
        },
        {
            "name": "book D",
            "publisher": "Shingekisha",
            "language": "Japanese",
            "copy_sold": 94
        },
        {
            "name": "book E",
            "publisher": "Nihao publishing",
            "language": "English",
            "copy_sold": 10
        },
        {
            "name": "book F",
            "publisher": "Basement Culture",
            "language": "Chinese",
            "copy_sold": 8
        },
        {
            "name": "book G",
            "publisher": "Basement Culture",
            "language": "Chinese",
            "copy_sold": 10200
        },
        {
            "name": "book H",
            "publisher": "Shingekisha",
            "language": "Japanese",
            "copy_sold": 240
        },
        {
            "name": "book I",
            "publisher": "Yomesan",
            "language": "Japanese",
            "copy_sold": 800
        },
        {
            "name": "book J",
            "publisher": "Nihao publishing",
            "language": "English",
            "copy_sold": 5600
        },
        {
            "name": "book K",
            "publisher": "Basement Culture",
            "language": "Chinese",
            "copy_sold": 895
        },
        {
            "name": "book L",
            "publisher": "Shingekisha",
            "language": "Japanese",
            "copy_sold": 3800
        },
        {
            "name": "book M",
            "publisher": "Yomesan",
            "language": "English",
            "copy_sold": 400
        },
        {
            "name": "book N",
            "publisher": "Yomesan",
            "language": "Chinese",
            "copy_sold": 90
        },
        {
            "name": "book O",
            "publisher": "Shingekisha",
            "language": "Japanese",
            "copy_sold": 190
        },
        {
            "name": "book P",
            "publisher": "Nihao publishing",
            "language": "Chinese",
            "copy_sold": 99
        },
        {
            "name": "book Q",
            "publisher": "Shingekisha",
            "language": "English",
            "copy_sold": 420
        },
    ]
}


```