Skip to content

Instantly share code, notes, and snippets.

@tomjere
Last active September 18, 2020 08:55

Revisions

  1. tomjere renamed this gist Sep 18, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. tomjere created this gist Sep 18, 2020.
    3 changes: 3 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # get longest string from a list

    max([word for word in words], key=len)