-
-
Save ozkatz/1394781 to your computer and use it in GitHub Desktop.
99 Bottles of Beer on the Wall (as a one liner. I don't know why.)
This file contains hidden or 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
import os; [ os.system('say %d bottles of beer on the wall, %d bottles of beer, if one of those bottles should happen to fall, %s bottles of beer on the wall' % (99 - i, 99 - i , 99 - i - 1)) for i in range(0, 99) ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also, some part of me resisted hard coding the number 99. you know, to make it "future proof".