Skip to content
Snippets Groups Projects
Commit b881155f authored by aslesha's avatar aslesha
Browse files

lab2 q2

parent bd638494
No related branches found
No related tags found
No related merge requests found
Pipeline #162 canceled
from collections import Counter
s=input()
for i in range(len(s)):
k=s.count(s[i])
print(k,s[i])
print(Counter(s))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment