Skip to content
Snippets Groups Projects
Commit 93ae2aa6 authored by D Vengatesh's avatar D Vengatesh
Browse files

ex2 q2 done

parent f84dd020
No related branches found
No related tags found
No related merge requests found
Pipeline #53 canceled
dict1={}
s=input("Enter the string:")
for i in s:
if i in dict1 :
dict1[i]+=1
else:
dict1[i]=1
print(dict1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment