统计单词的个数
def count(str):
count_words = str.split()
count_word = {}
for word in count_words:
if word not in count_word.keys():
count_word[word] = 1
else:
count_word[word] += 1
return count_word
print(count('hello lily'))