Created
January 24, 2017 10:20
-
-
Save starenka/102864bb7ffef1a84f7261ca7c8f6814 to your computer and use it in GitHub Desktop.
bottles.py
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
i=99;p=lambda:`i or 99`+' bottle'+'s of beer on the wall'[i==1:] | |
while i:r=p();i-=1;print"%s, %s.\n"*2%(r,r[:-12],'Take one down and pass it around'if i else'Go to the store and buy some more',p()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment