human
Complete this python program:
def find_exact(tracks, query=None, limit=100, offset=0, uris=None):
assistant
#Here is the Python code you requested.

    """Filter a list of tracks where ``field`` is ``values``.
    :param list tracks: a list of :class:`~mopidy.models.Track`
    :param dict query: one or more field/value pairs to search for
    :param int limit: maximum number of results to return
    :param int offset: offset into result set to use.
    :param uris: zero or more URI roots to limit the search to
    :type uris: list of strings or :class:`None`
    :rtype: :class:`~mopidy.models.SearchResult`
    """
    if (query is None):
        query = {}
    _validate_query(query)
    for (field, values) in query.items():
        for value in values:
            if (field == u'track_no'):
                q = _convert_to_int(value)
            else:
                q = value.strip()
            def uri_filter(t):
                return (q == t.uri)
            def track_name_filter(t):
                return (q == t.name)
            def album_filter(t):
                return (q == getattr(getattr(t, u'album', None), u'name', None))
            def artist_filter(t):
                return filter((lambda a: (q == a.name)), t.artists)
            def albumartist_filter(t):
                return any([(q == a.name) for a in getattr(t.album, u'artists', [])])
            def composer_filter(t):
                return any([(q == a.name) for a in getattr(t, u'composers', [])])
            def performer_filter(t):
                return any([(q == a.name) for a in getattr(t, u'performers', [])])
            def track_no_filter(t):
                return (q == t.track_no)
            def genre_filter(t):
                return (t.genre and (q == t.genre))
            def date_filter(t):
                return (q == t.date)
            def comment_filter(t):
                return (q == t.comment)
            def any_filter(t):
                return (uri_filter(t) or track_name_filter(t) or album_filter(t) or artist_filter(t) or albumartist_filter(t) or composer_filter(t) or performer_filter(t) or track_no_filter(t) or genre_filter(t) or date_filter(t) or comment_filter(t))
            if (field == u'uri'):
                tracks = filter(uri_filter, tracks)
            elif (field == u'track_name'):
                tracks = filter(track_name_filter, tracks)
            elif (field == u'album'):
                tracks = filter(album_filter, tracks)
            elif (field == u'artist'):
                tracks = filter(artist_filter, tracks)
            elif (field == u'albumartist'):
                tracks =...