I have a list as follows
 items = [{'Item Shortname': 'tshirt', 'Skins': '10053'},
 {'Item Shortname': 'tshirt', 'Skins': '10039'},
 {'Item Shortname': 'tshirt', 'Skins': '584379'},
 {'Item Shortname': 'tshirt', 'Skins': '10043'},
 {'Item Shortname': 'vending.machine', 'Skins': '861029759'},
 {'Item Shortname': 'vending.machine', 'Skins': '862137836'},
 {'Item Shortname': 'vending.machine', 'Skins': '869474635'},
 {'Item Shortname': 'water.purifier', 'Skins': '886677071'},
 {'Item Shortname': 'water.purifier', 'Skins': '786826476'}]
How do I generate an output like this:
{
  {'Item Shortname': 'tshirt', 'Skins': [0, 10053, 10039, 584379, 10043]},
  {'Item Shortname': 'vending.machine', 'Skins': [0, 861029759, 862137836, 869474635]},
  {'Item Shortname': 'water.purifier', 'Skins': [0, 886677071, 786826476]}
}
I have tried this with the default dict https://docs.python.org/3/library/collections.html#collections.defaultdict but couldn't figured out.
 
     
    