How can I create dictionary specifying keys names as a input variable
<p>I'm using a dictionary to create a list of variables:</p>

<pre><code>def split_list(list_,size,name):
    fragment_number = len(list_)/size + 1 
    d={}
    for x in range(1,fragment_number+1):
            d["north_carolina_cities{0}".format(x)]=list_[(x-1)*size:x*size]
    return d
</code></pre>

<p>This function takes a list as input and split it in several items of a dict, but I'm not able to use the variable 'name' to regerate the keys of a dictionary  so I have to change the name manually each time: "north_carolina_cities{0}"</p>

<p>How can I integrate this process into the function?</p>