Created
December 16, 2011 14:27
-
-
Save eloyz/1486237 to your computer and use it in GitHub Desktop.
Return a list of cloned items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listify = lambda s='chicken egg',n=10: ((s+' ')*n).split() | |
listify() | |
listify('eloy') | |
listify('eloy',20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment