You are viewing a single comment's thread. Return to all comments →
Maybe merge the last 2 for loops into 1?
for _ in range(int(input())): print(N.count(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 →
Maybe merge the last 2 for loops into 1?