I am given a dictionary that looks something like this
sizeandstock = { \'10.5\': 132, \'11.0\': 66, \'8.5\': 80, \'6.5\': 10, \'6.0\': 31, \'4.5\': 36,