There is a dictionary of the following format: [List Containing Dictionaries]
[{'ID': '743987', 'Information': 'Anime is the Best'},
{'ID': '743987','Information': 'Python is the Best'}]
Required Output:
[
{'ID': '743987','Information': ['Anime is the Best','Python is the Best']}
]
I've seen the other solutions, but none seem to produce the following output:
[ {'ID': '743987','Information': ['Anime is the Best','Python is the Best']} ]
It is necessary for 'ID' and 'Information' to be a part of the output.
How to proceed with this?