Pergunta de entrevista da empresa UCLA

write a function that prints the 10 most frequently used words in a string.