Skip to content
Snippets Groups Projects
Commit 11a13e5f authored by VIMAL PRASANNA K G's avatar VIMAL PRASANNA K G
Browse files

Upload New File

parent eff25aff
No related branches found
No related tags found
No related merge requests found
dat=open('/home/student4/sun.txt','r');
li=dat.readlines();
lis=[];
for i in li:
i=i[3:];
i=i[:-26];
lis.append(i);
l=[];
for i in lis:
if i not in l:
l.append(i);
for i in l:
print(i,lis.count(i));
dat.close();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment