Skip to content

Instantly share code, notes, and snippets.

@sneg55
Last active August 2, 2016 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sneg55/d81c011e30bf9d9ce1ee2304fab00d54 to your computer and use it in GitHub Desktop.
Save sneg55/d81c011e30bf9d9ce1ee2304fab00d54 to your computer and use it in GitHub Desktop.
for tld, counters in counter.items():
if sum(counter[tld].values()) > 1000000:
v=list(counter[tld].values())
vm = max(v)
k=list(counter[tld].keys())[v.index(vm)]
print('{}:most frequiently ({} domains) domain name has {} symbols in a name'.format(tld,vm,k))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment