Create a dictionary from a list of key and multi list of values in Python I have a list of key:
list_date = [&quot;MON&quot;, &quot;TUE&quot;, &quot;WED&quot;, &quot;THU&quot;,&quot;FRI&quot;]

I have many lists of values that created by codes below:
list_value = list()
for i in list(range(5, 70, 14)):
    list_value.append(list(range(i, i+10, 3)))

Rules created that:

first number is 5, a list contains 4 items has value equal x = x + 3, and so on [5, 8, 11, 14]

the first number of the second list equal: x = 5 + 14, and value inside still as above x = x +3
[[5, 8, 11, 14], [19, 22, 25, 28], [33, 36, 39, 42], [47, 50, 53, 56], [61, 64, 67, 70]]


I expect to obtain a dict like this:
collections = {&quot;MON&quot;:[5, 8, 11, 14], &quot;TUE&quot; :[19, 22, 25, 28], &quot;WED&quot;:[33, 36, 39, 42], &quot;THU&quot;:[47, 50, 53, 56], &quot;FRI&quot;:[61, 64, 67, 70]}

Then, I used:
zip_iterator = zip(list_date, list_value)
collections = dict(zip_iterator)

To get my expected result.
I tried another way, like using the lambda function.
for i in list(range(5, 70, 14)):
    list_value.append(list(range(i,i+10,3)))
    couple_start_end[lambda x: x in list_date] = list(range(i, i + 10, 3))

And the output is:
{&lt;function &lt;lambda&gt; at 0x000001BF7F0711F0&gt;: [5, 8, 11, 14], &lt;function &lt;lambda&gt; at 0x000001BF7F071310&gt;: [19, 22, 25, 28], &lt;function &lt;lambda&gt; at 0x000001BF7F071280&gt;: [33, 36, 39, 42], &lt;function &lt;lambda&gt; at 0x000001BF7F0710D0&gt;: [47, 50, 53, 56], &lt;function &lt;lambda&gt; at 0x000001BF7F0890D0&gt;: [61, 64, 67, 70]}

I want to ask there is any better solution to create lists of values with the rules above? and create the dictionary collections without using the zip method?
One alternative approach is to take advantage of enumerate() -- which allows
you to iterate over what could be thought of as a zip() of a list's indexes and
values. To my eye, this version seems a bit clearer and simpler.
days = ['MON', 'TUE', 'WED', 'THU', 'FRI']

d = {
    day : [
        (5 + i * 14) + (j * 3)
        for j in range(4)
    ]
    for i, day in enumerate(days)
}

print(d)