def enter_star_ratings(context, val=3):
 for id_ in STAR_CONTAINER_IDS:
  rate_id(context, id_, val=val)

def enter_star_ratings ( context , val = 3 ) : for id_ in STAR_CONTAINER_IDS : rate_id ( context , id_ , val = val )
enters a value for all three star rating forms .