# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.

list=["12345-568","12345-567","12345-566","12358-564","12325-563"]
a=[]

dic={}
for i in list:
   b= i.split("-")[0]
   a.append(b)
   c=i.split("-")[1]

print(dic)

