#!/usr/bin/env python3
""" Where can I learn Python?
"""


def schools_by_topic(mongo_collection, topic):
    """ Function that returns the list of school
    having a specific topic
    """

    return [i for i in mongo_collection.find({"topics": topic})]
