max_value = max(sentiment_dict.values())
min_key = {value: key for key, value in list(sentiment_dict.items())}[min_value]
print('There is a %s probability that the stock is %s' % (min_value /
    max_value, min_key))
Разделить и найти максимальное значение в цикле for: Python