I have a list as follows:
['ExampleName', ['1', 'some_value_1'], ['2', 'some_value_2']]
and I am trying to figure out how to write function or loop that takes the first element of the list and set it up as a dictionary name. The desired output would be equivalent to:
ExampleName = {1:'some_value_1', 2:'some_value_2'}
So far tried eval
command without success