def create_query_str(keywords, sources):
    """
    Creates the query string to search for `keywords` from `sources`.

    Arguments
    ----------
    keywords: ([string]), list of keywords to search for.
    sources: ([string]), list of news sources to find articles from.
    """
    str_builder = keywords.copy()
    for source in sources:
        str_builder.append('inurl:' + source)
        str_builder.append('OR')
    if len(str_builder) > 0  and str_builder[-1] == 'OR':
        del str_builder[-1]

    return ' '.join(str_builder)