Creating a list of lists into a dictionary : <p>I'm trying to find a code that transforms a list of lists into a dictionary. Lets say I have a list that is </p>

<pre><code>list_one = [['id1', 'id2', id3', 'id4', 'id5'],
            ['1', 'Cat', '400', 'Fur', '50'],
            ['2', 'Dog', '500', 'Smelly', '60']]
</code></pre>

<p>The dictionary should have keys to number each list in dictionaries in this format</p>

<pre><code>new_dict = {1.0: {'id1': 1,
                 'id2': 'Cat',
                 'id3': 400,
                 'id4': 'Fur',
                 'id5': 50},
            2.0: {'id1': 2,
                  'id2': 'Dog',
                  'id3': 500,
                  'id4': 'Smelly'
                  'id5': 60}
</code></pre>

<p>Can such a conversion be done in list comprehension or through a for loop? </p>
