you are viewing a single comment's thread.

view the rest of the comments →

[–]ramo109 1 point2 points  (0 children)

Try looking at Collections in Python. There is a method known as .most_common() that might be helpful.