You are viewing a single comment's thread. Return to all comments →
python 3:
import re text = '\n'.join([input() for _ in range(int(input()))]) for k in range(int(input())): print(len(re.findall(input()[:-2]+'[zs]e',text)))
Seems like cookies are disabled on this browser, please enable them to open this website
The British and American Style of Spelling
You are viewing a single comment's thread. Return to all comments →
python 3: