Teaching Assistant solutions

Teaching Assistant was solved using Python by 35 contestants. Solution sizes: average 1034 bytes (shortest: 294; longest: 2817).

The list below is sorted by solution size. You can also sort by ranking.