In the code below, there is a dictionary with some data inside. Your task is to print the formatted version of it to match the sample output below.
The random_dict variable has already been declared for you.
In the code below, there is a dictionary with some data inside. Your task is to print the formatted version of it to match the sample output below.
The random_dict variable has already been declared for you.
Sample Input 1:
{"_id": "614bbafcf0f96f30398e2db9", "age": 23, "friends": [{"id": 0, "name": "Bethany Farrell"}, {"id": 1, "name": "Tran Richard"}], "gender": "female", "isActive": true, "name": "Leticia Mooney", "registered": "2021-07-05T13:50:41 +03:00", "tags": ["eu", "esse", "commodo"]}Sample Output 1:
{'_id': '614bbafcf0f96f30398e2db9',
'age': 23,
'friends': [...],
'gender': 'female',
'isActive': True,
'name': 'Leticia Mooney',
'registered': '2021-07-05T13:50:41 +03:00',
'tags': [...]}Create a free account to access the full topic