UCLA Interview Question

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