diff --git a/cse16259_e2_2.py b/cse16259_e2_2.py new file mode 100644 index 0000000000000000000000000000000000000000..0f6976f3c3d46d21bb4909e2cf0601122f681dd6 --- /dev/null +++ b/cse16259_e2_2.py @@ -0,0 +1,7 @@ +from collections import Counter +s=input() +for i in range(len(s)): + k=s.count(s[i]) + print(k,s[i]) + +print(Counter(s))