Code: Select all
#! python
from collection import Counter
data = open('rfc3280').read()
print Counter(i for i in data.split() if len(i)==9).most_common(1)[0][0]
Code: Select all
#! python
from collection import Counter
data = open('rfc3280').read()
print Counter(i for i in data.split() if len(i)==9).most_common(1)[0][0]