0
1 min read

I want to create dictionary dynamically using the for loop for example, keys should increase in loop counter manner and I can add specific value according to code need.

ex:-

c = [“23″,”31″,”44”]

output dict = {0: ’23’,1:’31’,2:’44’}

Answered question