28 Jun
2018
28 Jun
'18
6:23 p.m.
Nicolas Rolin wrote:
student_by_school = {group_by(school): student for school, student in student_school_list}
In the spirit of making the target expression look like a template for the generated elements, {school: [student...] for school, student in student_school_list} -- Greg