Skip to content

Instantly share code, notes, and snippets.

@nZac
Created December 5, 2014 17:10
Show Gist options
  • Save nZac/2564bb9d6192709921a0 to your computer and use it in GitHub Desktop.
Save nZac/2564bb9d6192709921a0 to your computer and use it in GitHub Desktop.
>>> d = ["25","30","35","40","100","10000","1000000000"]
>>> c = [25,30,35,40,100,10000,1000000000]
>>> sorted(d).pop()
'40'
>>> sorted(c).pop()
1000000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment