Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
4-liner: set concept solution in Clear category for The Ship Teams by Stensen
def two_teams(s):
return [
sorted(set(s.keys()).difference(b:={i for i in s if s[i] if 20 <= s[i] <= 40})),
sorted(b)
]
Nov. 4, 2020
Comments: