I have a list which holds json objects like this
a =[{"User": "Ram","Product": "Soap","Price": "25"},
{"User": "Ramesh","Product": "Shampoo","Price": "5"},
{"User": "Ramesh","Product": "powder","Price": "35"}]
Now I want to split this single list into multiple list like this
a2 = [
[{"User": "Ram","Product": "Soap","Price": "25"}],
[{"User": "Ramesh","Product": "Shampoo","Price": "5"}],
[{"User": "Ramesh","Product": "powder","Price": "35"}]
]
Can anyone tell me how I can achieve this solution, I am new to python.