Skip to content

Instantly share code, notes, and snippets.

@tomjere
Last active September 18, 2020 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomjere/9c335f41c9dd34813c5b00dd8b677d57 to your computer and use it in GitHub Desktop.
Save tomjere/9c335f41c9dd34813c5b00dd8b677d57 to your computer and use it in GitHub Desktop.
Example for personal usage
# get longest string from a list
max([word for word in words], key=len)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment