Skip to content

Instantly share code, notes, and snippets.

@thmain
Last active Jan 16, 2017
Embed
What would you like to do?
def FindMax(countList):
maximum = -1; #Hold the max
classification = ""; #Hold the classification
for key in countList.keys():
if(countList[key] > maximum):
maximum = countList[key];
classification = key;
return classification,maximum;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment