Skip to content

Instantly share code, notes, and snippets.

@josephsdavid
Created August 18, 2022 03:30
Show Gist options
  • Save josephsdavid/62523a63940d8e5b8a4c2704bab69b18 to your computer and use it in GitHub Desktop.
Save josephsdavid/62523a63940d8e5b8a4c2704bab69b18 to your computer and use it in GitHub Desktop.
isochrone.py
def isochrone(s):
return (lambda x,y : x == y)(* map(lambda f: len(f([x for x in s.lower() if s.isalpha()])), [set, lambda x: x]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment