Commit be5fa434 by Ethan Mertz

added normal thing

parent a1e212d0
Showing with 14 additions and 0 deletions
d = {}
with open("python.txt") as p:
for line in p:
var = re.findall("[\s]*([\w, ]+)[\s]*=")
d[var] = d.get(var, 0) + 1
l = []
for item in d:
l.append((d[item], item))
nl = sorted(l)
for i in range(100):
print(nl[i])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment