Create a list of dictionary under donditional : I got a json format data.I want to extract some useful data from it, so I need to use some loop to do it.
here is my code:

`data=json.loads(res.text)`

`for item in data['leagues'][0]['events']:`

`for xx in item['periods']:`

`if 'moneyline' in xx.keys():`

`md=xx['moneyline']`

`print(md)`

I got result like this:
>{'away': 303.0, 'home': 116.0, 'draw': 223.0}

>{'away': 1062.0, 'home': -369.0, 'draw': 577.0}

>{'away': 337.0, 'home': 109.0, 'draw': 217.0}

>{'away': 297.0, 'home': 110.0, 'draw': 244.0}

>{'away': 731.0, 'home': -240.0, 'draw': 415.0}

How can I combine this separate data into a Dictionary form?
Thanks
