Skip to content
Snippets Groups Projects
Commit a3e54d6c authored by Prannesh SathyaMoorthy's avatar Prannesh SathyaMoorthy
Browse files

Category Count Done

parent f754233e
No related branches found
No related tags found
No related merge requests found
Pipeline #193 failed
dic = {}
with open('nw.txt') as f:
x = f.readline()
while x:
x=x[3:-26]
if x in dic:
dic[x] += 1
else:
dic[x] = 1
x = f.readline()
print(dic)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment