#NEWLINE# def get_team_member_stats( tid ) : #NEWLINE# #INDENT# '\n    Gets the solved problems for each member of a given team.\n\n    Args:\n        tid: the team id\n\n    Returns:\n        A dict of username:[problem list]\n    ' #NEWLINE# members = api . team . get_team_members ( tid = tid ) #NEWLINE# return { tid [ 'username' ] : _get_problem_names ( api . problem . get_solved_problems ( uid = member [ 'uid' ] ) ) for member in members }