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

Project done

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #158 canceled
path='sw.txt'
sample_txt=open(path,'r')
dic={}
i=sample_txt.readlines()
for j in i :
if j not in dic :
dic[j]=1
else:
dic[j]+=1
print(dic)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment