def recommend_for_user(user):
 return recommend_for_brands(brandsfor.get(user, set()))

def recommend_for_user ( user ) : return recommend_for_brands ( brandsfor . get ( user , set ( ) ) )
get a users brands and recommend based on them .