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

Upload New File

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