```python text = "now is the time in the past is the time to get down to the now is the time to work hard for the" words = text.split() word_count = {} for word in words: if word in word_count: word_count[word] += 1 else: word_count[word] = 1 for word, count in word_count.items(): print(f"{word}: {count}") ``` [2024-10-24 15:12:07 | AI写代码神器 | 103点数解答]