输入长度不超过80的英文文本,统计该文本中长度为n的单词总数(单词之间只有一个空格)。
a=input().split() n=int(input()) count = 0 for i in a: if len(a)==n: count+=1 print(count)