You are viewing a single comment's thread. Return to all comments →
Python 3: You don't really need to import anything additionally:
result = [] for q in queries: result.append(strings.count(q)) return result
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: You don't really need to import anything additionally:
result = [] for q in queries: result.append(strings.count(q)) return result
I don't know how to put a codeblock into the comments