Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Déjà vu solution in Clear category for The Ship Teams by veky
def two_teams(sailors):
ships = [], []
for surname, age in sorted(sailors.items()):
ships[20 <= age <= 40].append(surname)
return ships
Sept. 3, 2018
Comments: