def parse_prods(prodlist, name):
    if len(prodlist) > 0:
        sum_of_prods = len(prodlist)
        individ_prods = len(set(prodlist))
        return '%d different %s were requested %d times, \n' % (individ_prods, name, sum_of_prods)
    else:
        return ''
Returns a string with prod reporting format, or empty string if no products found
dataset/ETHPy150Open macadmins/sashay/sashay.py/parse_prods