str = input('输入句子:')str_my = 'china'list = str.split( )count = 0for item in list:if item == str_my:count += 1print('china出现的次数为:',count)