You are viewing a single comment's thread. Return to all comments →
s1 = [input().strip() for _ in range(int(input()))] [print(s1.count(input().strip())) for _ in range(int(input()))]
Seems like cookies are disabled on this browser, please enable them to open this website
Sparse Arrays
You are viewing a single comment's thread. Return to all comments →