Skip to content

Instantly share code, notes, and snippets.

@oxtopus
Created September 19, 2011 20:04
Show Gist options
  • Save oxtopus/1227445 to your computer and use it in GitHub Desktop.
Save oxtopus/1227445 to your computer and use it in GitHub Desktop.
lambda : list :: % : str
>>> (lambda s: ['a', s, 'c'])('b')
['a', 'b', 'c']
>>> 'a %s c' % 'b'
'a b c'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment