def get_all_scores(rec_scores, k=10):
    """
    Get scores of all items in the list of lists of recommendations.
    """
    all_scores = []
    for recs in rec_scores:
        for (item, score) in recs[0:k]:
            all_scores.append(score)
    return all_scores