Skip to content
Snippets Groups Projects
Commit 60d675c0 authored by K V Ragul's avatar K V Ragul
Browse files

Lab 3

parent ac1640b1
No related branches found
No related tags found
No related merge requests found
path='/home/student4/sw.txt'
sw_file=open(path,'s')
e={}
occ=sw_file.readlines()
for j in occ:
if j in d:
d[j]+=1
else:
d[j]=1
print(e)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment