Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
one_liner solution in Clear category for The Ship Teams by MBM_1607
def two_teams(sailors):
return [sorted([x for x in sailors if sailors[x] < 20 or sailors[x] > 40]), sorted([x for x in sailors if sailors[x] >= 20 and sailors[x] <= 40])]
Sept. 1, 2018
Comments: