def create_query(languages, min_stars=50000):
    """
    Create the query string for the GitHub search API, 
    based on the minimum amount of stars for a project, and 
    the provided programming languages.

    An example search query looks like: 
    stars:>50000 language:python language:javascript
    """
    query = f"stars:>{min_stars} "

    for language in languages:
        query += f"language:{language} "

    return query