You are viewing a single comment's thread. Return to all comments →
Python 3
count = [] for i in range(len(queries)): n = 0 for j in range(len(strings)): if queries[i] == strings[j]: n += 1 count.append(n) return count
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 →
Python 3