Skip to content

Commit c1fb63a

Browse files
committed
Update 1001S01E06_stats_word.py
1 parent c12885a commit c1fb63a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

19100401/jianqingchen/1001S01E06_stats_word.py

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def stats_text_en(text):
5151
dict2[tup1[0]] = dict1[tup1[0]]
5252
return dict2
5353

54+
5455
#打印统计英文词频的结果
5556
print("统计英文词频的结果为:")
5657
print(stats_text_en(text))
@@ -90,6 +91,7 @@ def stats_text_cn(text):
9091
dict4[tup1[0]] = dict3[tup1[0]]
9192
return dict4
9293

94+
9395
#打印统计中文词频的结果
9496
print("统计中文词频的结果为:")
9597
print(stats_text_cn(text))

0 commit comments

Comments
 (0)