Answers for "python find duplicates in string"

0

python find duplicates in string

from collections import Counter

def do_find_duplicates(x):
    x =input("Enter a word = ")
    for key,val in Counter(x).items():
        print(key,val)
Posted by: Guest on April-17-2021

Code answers related to "python find duplicates in string"

Python Answers by Framework

Browse Popular Code Answers by Language