i'm incredibly new to python so please forgive me if i don't understand something!!
I've got a 125 lines of code but I have one problem section. as it's currently set up, there is an incorrectly spelled word. it links to similarly spelled words in the dictionary, and the words have a score based off of how similar they are.
possible_replacements("sineaster", {"sineaster":{"easter":0.75, "sinister":0.60}})
possible_replacements is the name of the function, "sineaster" is the misspelled word, and "easter" & "sinister" are recommended substitutes. I want to access the correlated numbers to the dictionary words (the .75 and .6), but I can't seem to reach them because they're nested within another dictionary.
any suggestions?