def get_scores(database, person, multi=True):
    """
    Return a string representing the scores a person has in the database.

    The parameter `multi' is to specify whether the scores are used for
    displaying the scores of a single person or multiple people.
    """
    indent = '     ' if multi else ''
    return ''.join(
        indent + '{score}: {points}\n'.format(score=score, points=points)
        for score, points in database[person].items()
    )