Skip to content
Snippets Groups Projects
Commit 0d696a4b authored by Velaga Abijith's avatar Velaga Abijith
Browse files

q2 done

parent cacbffb9
Branches
No related tags found
No related merge requests found
dict={}
str=input("enter a string :")
for i in str:
if i in dict:
dict[i]+=1
else:
dict[i]=1;
print(dict)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment