def removeduplicates(sentence):
    sentencelst = sentence.split()
    emptylst = []
    
    for words in sentencelst:
        x = sentencelst.count(words)
        emptylst.append(x)
    for items
    print(emptylst)           





removeduplicates('this is a example example sentence')
