I have a list of values that looks like this : values = [2.5,3.6,7.5,6.4]
,
Is it possible to create several dictionaries with the values from this list and the same key value for all items, so the final output will look like this:
list_of_dic = [{'interest rate':2.5}, {'interest rate'}:3.6, {'interest rate':7.5}, {'interest rate':6.4}]