• + 4 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