How To Compare Values In A Dictionary Python