I am beginning Python and I have read so many posts trying to figure this out. I have a dictionary made up of two lists. One of these is made up of integers and the other is a list of letters. The dictionary is sorted alphabetically however I want it to be sorted by the values associated with each letter. These values are not full integers. Could someone please let me in laymans terms how I can do this.
This is the dictionary
{
'A': '0.03',
'C': '0.02',
'D': '0.04',
'E': '0.06',
'F': '0.05',
'G': '0.03',
'H': '0.03',
'I': '0.08',
'K': '0.07',
'L': '0.14',
'M': '0.02',
'N': '0.06',
'P': '0.03',
'Q': '0.04',
'R': '0.03',
'S': '0.11',
'T': '0.05',
'V': '0.05',
'W': '0.02',
'Y': '0.03'
}
I would really appreciate a workaround that does not use any packages. Thank you very much in advance.