# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# +
data1 = '''{
    "calories": {
        "a": 420,
        "b": 380,
        "c": 390
    },
    "duration": {
        "a": 50,
        "b": 40,
        "c": 45,
        "d": [
            {
                "1": "61",
                "2": "62",
                "3": "63"
            },
            {
                "10": "71",
                "20": "72",
                "30": "73"
            }
        ]
    }
}'''

data2 = '''{
    "duration": {
        "a": 50,
        "b": 40,
        "c": 45,
        "d": [
            {
                "10": "71",
                "20": "72",
                "30": "73"
            },
            {
                "1": "61",
                "2": "62",
                "3": "63"
            }
        ]
    },
    "calories": {
        "a": 420,
        "b": 380,
        "c": 390
    }
}'''


# +
import json
x = json.loads(data1)
y = json.loads(data2)


for i in x:
    print(x[i])

# try:
#     assert sorted(x) == sorted(y)
#     print("Same")
# except:
#     print("Different")
# -



StarcoderdataJupyterScriptsDedupFiltered