Solved: Could Please Help Solve Python Write Function Repeatwordcount Text N Takes String Text Pos Q27939614

Could you please help me solve it with Python

Write a function repeat_word_count(text, n) that takes a stringtext and a positive integer n, converts text into a list of wordsbased on simple whitespace separation (with no removal ofpunctuation or changing of case), and returns a sorted list ofwords that occur n or more times in text. For example:

>>> repeat_word_count(“buffalo buffalo buffalo

OR